2021-12-27 21:14:36,187  INFO ilens-edge_engine building publishers 
2021-12-27 21:27:48,178  INFO ilens-edge_engine building publishers 
2021-12-27 21:33:16,946  INFO ilens-edge_engine building publishers 
2021-12-27 21:34:22,514  INFO ilens-edge_engine building publishers 
2021-12-27 21:36:40,423  INFO ilens-edge_engine building publishers 
2021-12-27 21:37:12,216  INFO ilens-edge_engine building publishers 
2021-12-27 21:38:32,556  INFO ilens-edge_engine building publishers 
2021-12-27 21:40:17,383  INFO ilens-edge_engine building publishers 
2021-12-27 21:40:18,198  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-27 21:40:18,348 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,348  INFO ilens-edge_engine Setting up frame processor !!
2021-12-27 21:40:18,348 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,351 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,352 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,353 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,353 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,355 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,355 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,357 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,357 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,358 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,359 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,362 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,363 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,367 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,368 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,370 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,370 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,376 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,376 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,379 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,379 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,381 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,381 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,383 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,383 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,385 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,385 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,386 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,386 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,388 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,388 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,389 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,390 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,390 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,391 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,391 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,392 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,393 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,393 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,394 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,395 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,396 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,396 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,401 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,401 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,402 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,403 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,404 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,404 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,406 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,406 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,408 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,408 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,409 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,410 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,411 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,411 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,412 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,412 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,413 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,413 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,418 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,419 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,420 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,420 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,421 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,422 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,423 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,423 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,424 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,424 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,426 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,426 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,427 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,427 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,428 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,428 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,435 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,435 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,436 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,437 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,438 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,438 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,439 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,440 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,441 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,441 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,442 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,442 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,443 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,443 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,444 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,444 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,450 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,450 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,452 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,452 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,454 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,454 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,455 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,455 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,456 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,457 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,458 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,458 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,459 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,460 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,461 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,461 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,466 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,467 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,468 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,468 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,470 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,470 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,471 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,471 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,472 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,473 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,474 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,474 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,475 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,475 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,476 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,477 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,482 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,483 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,486 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,486 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,488 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,488 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,490 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,490 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,492 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,493 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,494 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,494 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,496 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,496 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,497 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,497 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,498 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,499 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,500 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,500 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,502 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,502 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,503 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,503 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,505 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,505 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,506 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,506 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,507 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,507 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,513 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,513 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,514 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,515 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,516 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,516 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,517 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,517 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,518 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,519 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,520 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,520 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,521 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,521 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,522 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,522 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,529 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,530 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,531 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,532 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,533 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,534 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,535 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,536 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,537 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,537 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,539 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,539 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,541 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,541 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,542 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,543 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,545 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,545 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,546 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,547 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,548 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,548 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,549 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,549 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,550 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,550 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,551 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,551 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,552 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,552 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,553 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,554 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,562 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,562 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,564 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,564 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,566 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,566 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,568 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,568 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,570 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,570 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,572 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,572 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,573 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,574 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,576 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,576 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,578 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,579 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,581 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,581 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,583 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,584 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,586 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,586 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,588 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,589 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,590 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,590 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,592 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,593 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,595 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,595 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,597 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,597 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,598 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,598 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,599 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,600 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,601 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,601 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,603 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,603 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,605 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,606 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,607 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,608 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,610 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,610 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,611 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,611 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,612 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,613 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,614 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,614 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,615 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,616 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,617 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,617 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,618 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,619 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,623 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,624 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,625 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,626 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,627 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,628 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,629 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,630 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,631 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,632 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,633 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,633 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,635 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,635 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,637 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,637 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,639 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,639 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,640 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,641 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,643 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,643 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,644 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,645 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,646 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,646 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,647 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,647 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,648 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,649 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,653 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,653 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,654 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,655 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,656 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,657 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,658 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,658 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,660 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,660 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,662 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,662 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,663 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,663 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,664 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,664 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,669 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,670 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,672 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,672 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,674 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,675 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,677 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,677 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,678 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,679 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,680 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,681 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,682 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,682 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,684 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,684 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,685 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,686 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,687 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,687 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,688 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,688 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,689 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,689 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,691 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,691 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,692 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,692 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,693 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,693 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,694 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,694 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,702 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,702 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,703 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,704 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,705 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,705 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,706 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,706 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,707 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,707 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,709 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,709 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,710 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,710 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,711 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,711 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,717 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,717 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,719 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,719 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,720 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,720 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,721 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,722 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,723 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,723 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,724 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,725 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,726 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,727 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,728 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,728 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,732 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,732 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,734 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,735 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,736 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,737 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,738 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,739 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,740 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,740 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,742 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,742 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,743 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,744 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,745 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,745 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,748 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,748 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,750 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,750 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,751 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,752 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,753 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,753 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,755 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,755 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,756 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,756 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,757 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,757 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:40:18,758 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-27 21:40:18,758 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-27 21:45:04,113  INFO ilens-edge_engine building publishers 
2021-12-27 21:45:04,322  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-27 21:45:07,005  INFO ilens-edge_engine Setting up frame processor !!
2021-12-27 23:08:47,399  INFO ilens-edge_engine building publishers 
2021-12-27 23:08:47,567  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-27 23:08:48,868  INFO ilens-edge_engine Setting up frame processor !!
2021-12-27 23:08:49,034 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,160 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,273 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,390 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,504 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,616 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,740 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,855 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:49,978 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,102 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,210 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,304 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,409 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,509 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,606 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,701 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,799 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,889 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:50,989 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,091 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,193 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,292 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,400 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,500 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,607 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,706 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,811 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:51,911 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,012 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,109 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,211 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,312 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,411 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,509 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,616 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,715 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,823 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:52,939 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,035 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,141 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,242 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,350 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,450 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,554 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,649 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,752 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,849 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:53,948 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,053 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,147 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,244 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,347 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,447 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,539 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,637 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,737 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,847 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:54,946 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,041 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,136 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,239 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,338 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,438 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,540 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,645 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,743 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,851 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:55,949 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,064 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,198 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,300 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,408 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,511 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,616 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,717 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,810 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:56,922 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,021 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,122 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,234 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,335 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,433 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,543 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,647 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,747 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,852 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:57,951 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,051 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,152 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,244 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,343 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,445 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,558 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,658 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,763 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,861 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:58,966 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,066 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,166 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,267 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,377 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,476 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,578 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,682 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,785 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,886 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:08:59,986 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,088 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,194 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,292 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,385 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,488 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,588 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,694 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,796 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:00,906 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,014 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,114 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,218 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,318 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,411 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,518 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,629 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,733 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,834 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:01,936 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,039 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,133 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,231 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,338 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,438 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,536 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,639 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,736 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,836 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:02,947 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,051 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,155 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,252 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,352 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,453 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,546 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,648 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,749 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,848 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:03,947 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,048 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,154 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,256 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,347 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,450 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,551 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,645 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,743 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,844 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:04,951 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,060 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,162 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,267 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,369 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,471 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,574 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,676 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,772 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,873 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:05,970 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,072 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,173 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,271 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,376 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,473 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,584 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,689 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,783 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,887 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:06,998 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,104 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,222 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,330 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,432 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,531 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,634 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,739 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,844 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:07,949 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,050 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,174 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,308 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,448 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,563 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,689 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,796 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:08,905 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,006 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,115 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,218 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,324 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,447 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,563 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,675 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,798 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:09,909 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,026 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,143 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,265 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,384 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,505 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,627 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,736 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,842 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:10,957 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,056 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,170 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,271 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,384 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,508 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,617 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,742 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,852 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:11,974 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,084 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,229 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,335 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,446 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,555 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,664 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,773 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,876 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:12,985 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,085 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,194 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,307 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,406 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,505 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,608 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,709 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,830 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:13,942 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,053 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,155 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,258 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,455 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,576 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,706 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,822 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:14,930 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,052 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,158 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,265 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,372 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,500 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,639 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,766 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:15,898 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,019 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,177 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,290 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,402 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,518 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,724 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:16,854 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,090 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,263 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,420 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,572 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,726 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,851 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:17,970 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,093 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,227 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,373 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,504 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,674 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,780 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,883 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:18,991 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,116 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,215 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,326 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,422 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,531 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,635 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,736 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,837 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:19,947 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,049 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,148 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,254 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,347 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,453 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,559 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,660 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,757 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,863 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:20,967 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,077 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,191 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,294 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,394 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,491 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,598 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,702 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,802 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:21,913 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,021 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,120 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,227 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,324 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,427 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,530 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,663 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,767 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,863 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:22,968 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,065 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,166 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,270 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,369 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,463 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,571 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,668 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,773 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,880 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:23,978 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,080 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,181 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,275 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,375 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,473 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,572 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,672 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,778 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,876 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:24,996 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,136 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,244 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,346 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,450 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,552 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,652 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,792 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:25,910 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,010 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,125 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,229 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,335 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,439 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,589 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,697 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,796 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:26,897 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,014 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,110 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,215 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,323 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,428 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,541 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,645 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,747 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,854 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:27,955 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,055 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,163 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,260 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,361 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,463 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,556 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,657 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,760 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,856 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:28,954 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,058 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,171 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,269 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,374 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,474 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,578 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,683 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,787 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,889 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:29,994 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,098 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,199 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,305 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,409 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,512 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,621 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,735 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,833 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:30,940 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,048 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,152 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,251 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,349 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,455 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,560 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,660 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,779 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,881 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:31,978 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,091 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,194 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,293 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,405 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,506 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,601 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,703 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,811 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:32,909 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,012 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,124 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,229 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,339 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,449 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,551 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,660 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,779 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,878 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:33,979 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,086 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,191 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,290 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,395 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,503 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,611 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,711 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,813 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:34,917 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,020 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,126 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,228 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,329 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,436 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,693 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,831 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:35,937 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,047 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,152 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,265 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,373 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,484 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,601 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,726 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,842 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:36,963 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,089 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,227 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,344 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,456 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,555 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,669 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,807 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:37,930 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,043 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,145 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,253 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,357 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,492 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,617 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,760 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:38,893 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,020 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,147 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,252 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,363 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,474 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,581 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,690 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,804 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:39,922 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,038 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,136 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,249 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,347 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,447 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,558 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,658 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,762 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,864 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:40,972 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,096 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,227 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,342 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,460 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,564 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,665 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,763 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,866 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:41,962 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,060 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,167 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,280 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,384 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,497 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,601 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,703 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,799 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:42,908 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,016 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,134 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,262 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,385 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,497 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,604 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,716 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,822 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:43,931 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,058 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,180 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,295 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,408 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,516 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,635 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,772 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:44,891 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,001 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,115 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,220 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,327 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,427 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,549 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,646 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,767 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,879 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:45,984 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,089 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,210 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,319 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,420 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,527 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,636 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,743 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,841 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:46,949 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,060 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,162 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,272 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,385 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,492 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,605 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,723 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,824 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:47,929 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,036 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,149 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,248 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,347 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,447 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,547 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,648 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,751 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,862 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:48,961 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,061 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,169 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,268 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,374 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,469 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,574 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,687 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,794 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:49,914 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,022 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,121 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,228 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,337 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,440 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,544 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,646 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,744 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,852 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:50,957 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,060 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,173 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,273 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,381 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,484 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,592 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,698 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,797 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:51,903 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,017 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,122 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,226 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,330 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,439 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,544 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,658 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,758 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,866 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:52,972 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,082 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,200 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,303 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,406 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,503 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,605 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,700 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,803 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:53,904 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,008 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,113 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,233 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,341 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,450 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,547 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,659 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,765 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,881 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:54,987 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,090 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,194 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,309 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,411 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,518 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,624 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,725 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,833 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:55,933 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,039 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,146 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,260 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,374 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,476 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,590 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,694 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,796 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:56,900 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,010 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,107 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,223 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,325 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,433 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,542 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,646 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,746 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,858 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:57,971 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,068 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,182 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,286 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,388 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,494 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,597 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,705 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,813 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:58,921 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,024 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,124 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,236 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,339 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,444 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,549 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,653 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,754 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,857 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:09:59,959 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,066 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,169 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,284 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,390 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,491 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,602 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,705 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,806 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:00,910 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,005 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,118 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,232 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,337 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,447 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,547 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,652 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,756 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,864 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:01,969 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,075 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,173 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,276 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,382 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,486 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,586 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,688 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,786 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:02,900 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,005 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,106 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,210 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,318 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,422 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,525 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,627 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,733 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,835 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:03,951 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,058 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,174 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,282 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,387 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,490 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,603 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,701 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,802 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:04,913 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,017 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,122 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,229 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,329 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,426 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,541 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,640 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,745 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,854 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:05,951 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,056 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,164 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,265 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,373 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,474 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,603 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,705 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,812 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:06,915 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,020 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,120 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,229 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,340 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,435 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,539 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,649 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,756 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,855 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:07,960 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,061 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,163 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,272 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,378 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,483 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,589 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,697 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,797 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:08,906 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,009 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,110 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,221 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,324 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,431 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,541 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,642 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,744 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,847 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:09,950 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,057 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,161 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,263 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,364 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,472 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,575 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,672 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,795 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:10,894 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,002 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,124 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,233 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,363 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,488 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,627 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,764 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,873 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:11,984 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,119 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,230 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,357 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,468 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,580 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,688 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,797 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:12,900 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,006 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,106 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,214 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,319 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,421 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,531 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,635 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,746 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,852 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:13,955 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,058 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,166 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,277 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,377 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,483 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,604 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,721 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,832 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:14,942 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,048 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,160 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,263 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,373 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,477 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,585 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,687 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,795 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:15,906 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,014 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,123 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,237 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,351 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,467 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,592 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,702 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,799 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:16,907 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,016 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,128 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,232 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,348 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,454 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,575 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,689 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,807 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:17,916 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,033 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,144 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,262 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,370 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,482 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,588 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,695 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,796 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:18,902 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,006 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,119 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,235 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,351 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,467 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,576 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,697 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,812 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:19,918 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,023 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,130 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,245 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,349 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,460 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,598 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,705 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,808 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:20,924 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,029 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,133 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,236 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,351 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,462 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,616 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,714 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,834 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:21,947 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,053 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,160 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,268 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,370 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,485 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,589 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,699 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,811 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:22,925 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,035 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,150 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,255 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,372 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,495 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,600 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,709 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,827 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:23,929 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,037 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,146 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,253 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,367 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,464 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,589 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,709 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,820 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:24,930 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,045 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,160 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,275 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,401 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,516 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,633 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,746 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,860 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:25,984 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,096 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,240 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,343 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,445 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,556 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,684 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,811 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:26,927 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,030 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,138 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,246 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,363 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,469 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,599 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,713 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,825 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:27,943 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,051 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,170 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,277 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,398 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,519 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,635 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,748 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:28,887 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,001 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,138 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,265 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,386 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,514 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,631 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,745 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:29,875 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,007 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,121 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,227 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,342 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,451 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,583 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,697 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,809 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:30,919 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,027 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,161 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,272 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,403 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,538 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,669 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,802 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:31,919 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,022 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,152 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,273 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,389 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,498 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,621 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,735 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,855 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:32,976 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,084 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,206 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,335 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,459 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,593 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,701 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,814 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:33,932 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,046 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,161 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,276 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,395 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,517 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,627 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,744 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,854 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:34,974 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,097 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,216 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,324 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,443 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,562 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,673 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,788 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:35,911 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:36,022 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:36,139 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:36,246 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:36,364 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:10:36,480 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 287, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:51,137  INFO ilens-edge_engine building publishers 
2021-12-27 23:13:51,282  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-27 23:13:52,882  INFO ilens-edge_engine Setting up frame processor !!
2021-12-27 23:13:53,047 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,177 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,293 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,409 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,524 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,641 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,763 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,878 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:53,997 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,107 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,225 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,326 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,433 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,528 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,638 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,754 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,864 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:54,987 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,099 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,224 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,324 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,430 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,530 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,637 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,749 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:55,900 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,007 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,171 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,281 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,385 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,533 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,634 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,733 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,838 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:56,938 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,035 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,150 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,251 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,352 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,460 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,558 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,655 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,763 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,862 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:57,960 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,067 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,176 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,275 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,380 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,482 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,583 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,685 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,782 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,887 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:58,986 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,086 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,195 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,291 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,391 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,501 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,603 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,708 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,812 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:13:59,910 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,022 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,125 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,226 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,333 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,430 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,536 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,639 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,735 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,839 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:00,942 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,042 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,145 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,246 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,341 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,446 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,544 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,643 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,756 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,852 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:01,954 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,059 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,163 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,262 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,371 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,468 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,575 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,681 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,781 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,886 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:02,993 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,094 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,193 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,298 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,397 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,498 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,603 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,701 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,810 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:03,915 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,015 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,121 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,220 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,326 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,434 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,538 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,656 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,754 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,864 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:04,969 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,067 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,177 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,277 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,372 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,480 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,579 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,681 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,784 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,880 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:05,985 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,100 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,214 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,312 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,421 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,517 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,612 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,716 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,816 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:06,919 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,023 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,130 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,231 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,333 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,432 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,536 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,640 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,744 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,847 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:07,949 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,052 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,149 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,280 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,376 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,480 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,580 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,677 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,789 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:08,906 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,042 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,194 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,310 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,423 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,526 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,634 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,739 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-27 23:14:09,838 ERROR ilens-edge_engine Error: update_bag_count() missing 1 required positional argument: 'det'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 288, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects)
TypeError: update_bag_count() missing 1 required positional argument: 'det'
2021-12-28 13:59:33,541  INFO ilens-edge_engine building publishers 
2021-12-28 13:59:34,181  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 13:59:35,856  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 13:59:36,053 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,169 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,267 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,373 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,472 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,573 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,675 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,784 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,894 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:36,997 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,086 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,189 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,288 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,387 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,488 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,590 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,688 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,793 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,895 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:37,991 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,097 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,189 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,286 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,416 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,506 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,597 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,694 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,795 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,898 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:38,991 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,086 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,184 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,275 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,382 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,484 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,582 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,698 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,804 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:39,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,026 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,147 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,249 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,367 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,470 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,591 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,699 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,803 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:40,909 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,030 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,154 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,276 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,396 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,510 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,756 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,865 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:41,974 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,084 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,206 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,314 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,437 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,554 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,678 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,777 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,887 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:42,983 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,104 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,212 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,316 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,425 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,545 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,660 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,789 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:43,893 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,011 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,115 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,244 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,359 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,480 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,590 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,714 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,826 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:44,964 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,229 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,349 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,475 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,584 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,709 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,826 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:45,951 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,098 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,223 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,336 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,469 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,585 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,692 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,809 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:46,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,056 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,187 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,311 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,429 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,527 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,648 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,752 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,860 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:47,967 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,084 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,207 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,321 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,456 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,573 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,686 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,791 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:48,909 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,017 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,128 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,235 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,344 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,459 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,578 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,693 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,812 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:49,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,063 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,176 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,278 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,396 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,515 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,628 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,742 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,853 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:50,975 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,089 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,216 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,337 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,450 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,546 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,673 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,778 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,884 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:51,985 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,095 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,200 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,305 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,436 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,552 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,661 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,775 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:52,881 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,005 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,116 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,230 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,335 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,448 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,554 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,668 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,778 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:53,892 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,007 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,117 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,227 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,328 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,452 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,568 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,678 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,780 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:54,900 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,004 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,113 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,219 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,326 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,431 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,538 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,648 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,770 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:55,881 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,000 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,112 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,220 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,320 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,563 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,674 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,785 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:56,898 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,019 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,128 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,254 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,380 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,491 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,602 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,803 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:57,918 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,024 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,131 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,248 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,362 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,474 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,595 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,705 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,841 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:58,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,080 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,204 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,323 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,571 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,682 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,790 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 13:59:59,885 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,000 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,111 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,246 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,479 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,589 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,695 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,808 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:00,903 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,017 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,120 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,213 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,342 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,456 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,570 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,786 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:01,909 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,022 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,147 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,266 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,401 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,500 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,721 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,833 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:02,937 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,052 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,143 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,247 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,364 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,469 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,576 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,688 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,798 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:03,911 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,011 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,125 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,225 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,336 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,470 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,589 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,698 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,816 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:04,922 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,043 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,153 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,257 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,490 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,718 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,826 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:05,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,034 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,142 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,237 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,347 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,473 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,583 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,695 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,808 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:06,909 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,026 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,127 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,230 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,352 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,448 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,560 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,661 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,773 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,892 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:07,994 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,115 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,214 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,325 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,464 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,586 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,702 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,834 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:08,941 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,041 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,156 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,257 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,383 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,489 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,591 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,707 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,818 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:09,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,034 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,131 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,237 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,336 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,458 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,565 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,678 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,792 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:10,904 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,021 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,125 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,248 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,362 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,483 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,593 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,709 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,826 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:11,961 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,083 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,212 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,339 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,454 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,550 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,663 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,761 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,865 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:12,978 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,091 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,203 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,439 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,556 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,657 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,762 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,875 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:13,992 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,105 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,217 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,432 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,537 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,662 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,770 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,878 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:14,988 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,103 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,217 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,328 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,440 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,570 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,678 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,791 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:15,901 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,023 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,128 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,247 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,356 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,471 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,573 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,688 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,782 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:16,896 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,013 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,117 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,235 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,354 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,477 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,587 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,694 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,806 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:17,914 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,012 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,129 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,239 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,352 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,487 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,602 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,719 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,840 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:18,957 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,067 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,189 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,298 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,445 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,576 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,698 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,816 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:19,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,041 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,156 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,263 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,405 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,519 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,642 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,754 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,870 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:20,970 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,091 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,206 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,322 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,430 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,551 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,671 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,791 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:21,884 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,004 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,124 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,231 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,340 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,464 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,572 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,815 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:22,925 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,032 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,131 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,250 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,359 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,477 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,593 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,702 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,817 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:23,927 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,043 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,148 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,259 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,367 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,476 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,587 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,811 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:24,939 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,042 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,149 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,274 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,401 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,522 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,638 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,746 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,859 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:25,974 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,202 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,315 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,436 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,553 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,653 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,764 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,866 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:26,961 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,086 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,194 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,309 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,426 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,544 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,664 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,775 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:27,897 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,020 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,142 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,235 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,348 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,462 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,581 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,686 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,794 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:28,909 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,026 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,133 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,257 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,372 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,489 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,600 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,821 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:29,928 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,025 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,133 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,244 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,349 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,469 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,584 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,696 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,802 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:30,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,022 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,134 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,243 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,357 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,480 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,723 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,835 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:31,934 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,053 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,164 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,269 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,401 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,510 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,726 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,843 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:32,938 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,058 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,160 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,268 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,383 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,496 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,603 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,712 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,824 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:33,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,045 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,161 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,270 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,371 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,495 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,612 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,834 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:34,937 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,047 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,155 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,268 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,369 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,474 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,581 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,680 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,792 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:35,899 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,007 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,131 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,235 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,342 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,469 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,574 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,686 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,797 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:36,897 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,020 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,120 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,229 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,349 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,448 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,555 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,677 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,787 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,888 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:37,989 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,104 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,213 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,324 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,447 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,566 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,682 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,805 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:38,936 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,053 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,177 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,300 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,415 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,533 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,664 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,788 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:39,922 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,036 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,166 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,286 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,412 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,521 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,634 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,728 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,845 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:40,954 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,062 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,183 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,297 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,427 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,549 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,664 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,760 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,886 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:41,995 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,101 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,218 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,323 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,572 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,680 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,785 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,895 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:42,997 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,136 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,240 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,359 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,465 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,572 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,672 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,781 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,877 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:43,971 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,094 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,201 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,304 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,424 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,547 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,675 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,792 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:44,896 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,003 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,097 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,216 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,331 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,441 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,544 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,650 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,760 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,870 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:45,980 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,094 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,204 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,325 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,431 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,537 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,645 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,770 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,881 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:46,996 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,101 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,205 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,310 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,435 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,537 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,641 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,758 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,858 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:47,982 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,095 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,197 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,327 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,561 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,797 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:48,917 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,031 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,137 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,248 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,367 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,488 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,723 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,841 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:49,955 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,071 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,181 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,296 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,411 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,529 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,643 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,753 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,874 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:50,999 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:51,114 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:51,232 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:51,347 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:00:51,464 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:45,365  INFO ilens-edge_engine building publishers 
2021-12-28 14:17:45,558  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 14:17:47,357  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 14:17:47,509 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:47,623 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:47,724 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:47,817 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:47,921 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,014 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,111 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,219 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,313 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,398 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,490 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,588 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,679 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,773 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,871 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:48,965 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,068 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,172 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,263 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,361 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,544 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,641 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,732 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,821 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:49,922 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,019 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,107 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,222 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,323 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,413 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,509 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,600 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,692 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,788 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,882 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:50,966 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,063 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,162 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,262 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,461 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,557 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,657 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,755 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,859 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:51,979 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,092 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,211 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,326 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,449 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,557 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,663 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,759 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,861 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:52,964 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,069 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,303 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,418 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,536 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,643 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,762 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,870 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:53,987 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,097 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,218 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,331 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,447 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,548 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,669 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,772 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,886 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:54,989 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,095 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,202 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,300 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,422 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,532 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,635 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,743 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,849 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:55,949 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,064 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,179 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,302 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,414 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,523 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,633 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,734 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,845 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:56,948 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,054 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,168 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,394 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,490 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,613 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,720 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,818 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:57,931 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,030 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,140 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,264 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,370 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,471 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,587 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,697 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,802 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:58,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,018 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,138 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,247 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,343 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,455 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,560 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,680 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,806 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:17:59,912 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,039 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,152 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,269 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,380 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,489 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,592 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,706 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,813 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:00,926 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,044 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,151 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,272 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,377 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,487 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,589 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,821 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:01,938 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,047 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,159 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,282 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,391 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,509 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,611 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,719 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,830 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:02,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,044 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,159 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,279 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,379 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,487 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,598 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,712 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,817 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:03,930 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,032 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,150 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,258 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,355 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,468 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,576 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,688 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,791 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:04,897 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,019 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,128 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,262 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,372 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,475 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,590 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,693 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,807 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:05,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,026 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,142 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,267 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,378 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,500 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,615 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,728 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,827 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:06,953 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,063 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,172 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,296 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,401 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,515 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,736 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,848 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:07,964 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,079 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,198 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,316 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,425 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,542 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,641 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,747 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,862 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:08,968 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,086 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,203 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,322 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,433 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,551 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,656 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,770 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,883 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:09,990 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,092 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,208 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,320 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,430 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,536 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,643 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,752 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,863 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:10,979 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,077 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,190 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,307 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,408 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,521 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,645 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,756 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,866 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:11,974 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,089 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,208 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,312 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,421 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,532 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,642 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,740 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,869 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:12,973 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,083 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,297 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,405 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,507 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,625 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,725 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,824 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:13,935 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,034 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,148 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,268 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,375 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,482 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,575 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,695 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,804 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:14,914 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,033 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,141 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,267 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,372 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,498 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,612 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,722 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,827 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:15,942 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,045 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,153 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,263 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,472 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,581 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,690 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,805 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:16,923 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,030 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,140 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,259 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,369 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,476 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,586 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,695 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,814 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:17,916 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,028 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,122 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,246 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,360 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,460 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,576 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,785 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:18,908 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,023 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,132 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,250 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,360 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,466 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,582 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,674 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,793 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:19,896 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,003 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,132 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,254 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,373 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,484 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,591 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,699 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,806 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:20,915 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,021 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,155 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,264 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,384 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,498 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,728 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,847 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:21,949 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,066 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,183 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,300 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,410 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,521 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,639 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,741 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,855 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:22,962 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,076 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,190 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,305 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,411 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,522 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,622 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,724 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,856 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:23,961 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,062 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,181 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,304 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,409 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,527 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,635 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,733 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,835 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:24,959 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,070 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,183 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,296 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,408 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,519 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,622 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,737 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,853 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:25,962 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,064 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,197 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,309 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,429 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,521 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,642 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,769 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,879 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:26,992 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,113 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,226 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,342 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,458 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,567 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,673 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,785 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:27,901 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,016 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,120 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,230 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,338 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,436 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,563 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,666 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,770 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:28,890 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,002 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,110 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,239 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,349 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,472 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,584 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,699 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,806 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:29,920 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,023 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,138 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,310 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,439 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,596 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,702 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,811 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:30,906 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,010 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,114 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,224 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,333 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,440 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,560 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,663 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,779 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,889 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:31,987 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,097 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,205 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,312 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,433 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,538 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,648 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,760 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,864 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:32,968 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,084 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,203 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,306 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,422 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,531 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,635 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,729 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,851 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:33,955 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,052 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,174 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,283 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,388 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,503 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,609 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,717 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,824 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:34,933 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,040 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,143 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,258 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,361 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,459 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,580 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,695 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,811 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:35,941 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,058 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,172 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,397 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,486 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,606 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,824 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:36,931 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,037 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,148 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,274 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,381 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,492 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,706 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,814 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:37,939 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,052 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,167 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,278 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,388 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,493 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,603 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,710 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,824 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:38,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,051 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,168 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,275 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,383 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,496 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,601 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,713 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,819 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:39,928 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,049 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,165 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,294 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,408 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,528 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,643 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,756 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,860 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:40,973 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,080 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,191 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,299 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,409 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,506 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,613 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,724 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,839 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:41,953 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,068 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,308 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,420 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,528 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,631 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,744 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,855 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:42,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,085 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,202 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,309 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,413 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,532 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,637 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,734 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,841 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:43,947 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,057 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,176 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,286 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,401 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,515 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,623 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,735 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,833 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:44,954 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,058 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,177 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,294 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,399 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,499 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,623 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,732 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,843 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:45,951 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,064 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,177 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,298 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,405 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,518 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,628 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,733 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,842 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:46,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,070 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,190 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,294 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,406 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,506 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,615 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,726 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,833 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:47,950 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,058 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,176 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,281 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,408 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,513 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,619 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,728 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,844 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:48,950 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,071 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,181 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,295 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,393 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,506 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,608 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,719 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,825 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:49,936 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,043 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,149 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,268 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,371 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,500 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,605 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,718 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,818 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:50,943 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,050 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,156 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,269 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,375 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,484 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,598 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,703 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,812 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:51,908 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,030 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,137 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,256 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,373 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,481 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,589 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,687 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,803 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:52,913 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,033 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,141 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,266 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,373 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,474 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,584 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,780 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:53,897 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,002 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,114 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,235 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,336 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,452 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,566 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,795 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:54,906 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,005 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,120 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,238 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,354 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,470 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,580 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,691 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,801 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:55,914 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,021 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,134 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,257 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,364 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,467 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,574 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,779 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,888 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:56,993 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,096 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,221 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,333 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,434 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,538 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,646 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,752 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,862 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:57,978 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,083 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,202 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,435 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,535 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,640 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,745 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,863 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:58,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,074 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,182 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,281 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,400 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,502 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,620 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,720 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,822 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:18:59,933 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,045 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,164 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,272 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,386 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,498 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,611 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,713 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,836 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:00,944 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,055 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,171 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,290 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,398 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,518 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,640 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,766 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,866 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:01,985 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,222 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,323 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,431 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,539 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,660 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,760 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,863 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:02,974 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,077 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,185 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,305 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,414 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,519 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,626 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,745 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,845 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:03,955 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,073 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,185 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,298 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,419 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,529 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,637 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,747 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,860 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:04,968 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,078 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,187 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,303 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,410 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,518 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,627 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,732 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,837 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:05,944 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,071 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,181 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,285 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,401 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,501 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,610 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,731 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,846 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:06,955 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,071 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,184 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,300 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,412 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,527 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,636 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,747 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,858 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:07,977 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,210 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,437 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,542 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,656 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,767 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,879 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:08,994 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,111 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,225 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,339 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,448 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,586 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,685 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,806 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:09,914 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,032 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,148 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,266 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,373 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,482 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,582 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,694 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,793 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:10,913 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,022 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,164 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,290 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,387 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,496 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,605 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,819 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:11,923 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,025 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,142 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,251 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,360 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,477 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,573 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,687 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,796 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,891 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:12,998 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,099 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,219 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,338 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,436 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,547 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,656 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,763 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,855 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:13,967 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,074 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,183 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,305 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,413 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,515 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,622 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,725 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,829 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:14,944 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,046 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,156 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,273 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,390 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,511 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,618 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,732 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,844 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:15,961 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,068 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,193 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,299 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,422 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,528 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,639 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,748 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,873 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:16,976 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,086 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,195 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,425 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,532 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,653 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,757 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,879 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:17,992 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,103 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,215 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,337 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,443 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,561 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,666 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,779 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:18,886 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,000 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,098 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,225 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,336 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,454 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,569 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,680 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,792 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:19,893 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,001 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,114 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,242 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,352 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,454 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,574 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,689 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,793 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:20,904 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,006 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,116 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,227 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,338 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,440 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,542 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,650 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,758 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,857 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:21,960 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,069 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,292 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,396 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,499 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,613 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,716 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,832 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:22,946 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,050 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,176 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,293 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,399 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,502 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,616 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,733 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,843 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:23,957 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,064 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,177 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,283 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,399 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,512 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,619 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,724 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,843 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:24,959 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,067 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,178 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,295 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,398 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,508 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,626 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,733 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,841 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:25,968 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,076 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,297 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,395 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,501 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,609 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,706 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,819 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:26,923 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,035 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,152 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,270 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,381 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,491 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,596 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,708 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,829 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:27,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,042 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,155 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,272 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,370 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,480 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,578 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,688 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,807 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:28,908 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,018 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,126 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,248 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,360 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,460 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,578 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,800 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:29,906 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,018 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,127 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,252 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,360 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,479 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,595 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,825 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:30,946 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,054 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,178 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,394 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,501 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,718 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,833 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:31,941 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,053 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,161 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,275 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,390 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,494 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,611 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,816 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:32,915 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,020 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,133 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,246 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,357 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,475 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,588 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,705 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,804 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:33,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,017 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,126 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,243 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,351 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,458 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,571 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,684 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,807 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:34,922 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,031 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,155 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,257 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,378 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,484 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,601 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,699 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,809 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:35,923 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,039 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,144 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,259 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,482 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,587 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,707 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,811 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:36,926 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,037 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,150 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,253 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,368 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,477 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,600 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,707 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,813 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:37,923 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,035 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,138 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,261 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,376 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,490 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,600 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,717 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,842 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:38,958 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,059 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,184 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,297 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,409 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,515 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,627 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,732 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,841 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:39,944 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,048 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,150 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,265 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,374 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,477 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,586 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,685 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,780 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:40,896 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,001 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,103 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,218 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,326 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,422 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,536 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,641 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,742 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,852 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:41,953 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,057 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,173 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,392 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,492 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,597 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,807 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:42,907 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,034 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,145 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,260 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,375 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,484 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,700 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,821 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:43,926 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,037 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,144 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,258 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,462 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,578 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,677 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,777 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,894 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:44,993 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,223 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,328 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,432 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,545 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,650 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,755 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,865 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:45,967 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,075 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,204 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,420 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,538 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,656 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,778 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,878 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:46,987 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,205 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,322 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,428 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,535 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,641 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,771 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:47,890 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,012 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,131 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,266 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,378 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,480 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,603 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,708 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,818 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:48,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,049 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,157 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,273 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,376 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,489 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,597 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,802 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:49,931 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,040 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,151 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,383 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,505 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,608 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,732 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,847 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:50,961 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,071 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,188 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,292 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,407 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,516 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,624 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,734 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,848 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:51,952 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,067 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,296 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,398 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,511 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,618 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,727 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,839 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:52,938 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,055 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,169 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,285 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,402 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,514 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,636 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,739 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,854 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:53,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,085 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,208 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,311 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,402 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,509 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,612 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,717 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,851 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:54,959 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,069 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,177 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,278 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,394 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,511 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,621 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,718 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,833 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:55,937 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,038 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,156 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,273 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,382 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,492 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,597 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,712 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,812 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:56,945 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,050 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,162 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,283 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,392 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,498 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,618 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,728 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,835 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:57,942 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,053 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,158 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,282 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,383 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,485 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,701 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,811 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:58,928 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,036 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,145 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,258 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,365 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,481 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,592 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,711 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,822 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:19:59,926 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,035 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,152 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,275 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,383 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,494 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,601 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,705 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,808 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:00,919 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,027 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,141 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,256 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,360 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,465 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,567 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,791 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:01,904 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,016 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,120 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,251 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,364 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,482 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,591 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,697 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,798 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:02,904 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,002 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,102 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,227 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,349 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,466 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,581 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,698 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,814 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:03,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:04,048 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:04,180 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:20:04,297 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 322, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, 'label')
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:07,720  INFO ilens-edge_engine building publishers 
2021-12-28 14:54:08,007  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 14:54:09,017  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 14:54:09,210 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:09,340 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:09,448 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:09,575 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:09,702 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:09,829 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:09,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,081 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,191 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,297 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,407 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,502 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,596 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,688 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,779 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,886 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:10,979 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,065 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,162 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,259 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,353 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,550 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,647 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,745 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,833 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:11,936 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,034 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,126 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,212 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,306 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,400 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,496 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,594 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,690 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,781 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,883 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:12,976 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,070 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,169 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,260 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,356 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,458 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,557 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,652 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,749 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,857 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:13,974 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,093 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,210 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,315 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,416 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,526 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,630 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,735 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,849 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:14,965 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,070 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,182 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,286 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,390 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,503 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,616 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,746 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:15,873 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,009 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,125 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,256 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,376 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,510 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,627 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,744 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,854 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:16,976 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,069 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,175 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,272 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,389 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,501 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,604 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,719 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,829 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:17,936 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,050 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,162 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,276 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,387 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,496 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,593 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,707 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,818 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:18,944 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,062 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,172 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,272 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,392 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,491 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,603 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,718 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,823 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:19,956 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,069 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,181 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,295 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,404 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,519 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,630 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,756 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,870 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:20,987 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,088 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,209 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,323 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,441 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,558 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,670 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,783 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:21,908 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,033 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,148 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,253 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,366 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,478 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,710 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,825 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:22,941 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,047 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,160 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,276 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,382 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,493 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,599 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,820 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:23,930 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,051 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,176 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,293 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,416 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,551 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,660 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,771 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,872 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:24,996 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,110 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,223 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,341 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,463 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,575 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,696 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,803 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:25,927 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,039 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,158 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,266 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,384 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,489 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,601 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,712 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,822 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:26,945 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,064 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,170 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,285 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,394 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,507 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,613 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,729 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,837 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:27,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,067 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,171 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,275 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,392 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,507 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,621 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,735 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,850 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:28,969 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,073 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,180 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,282 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,395 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,508 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,617 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,728 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,846 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:29,963 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,077 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,189 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,306 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,416 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,522 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,635 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,744 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,855 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:30,971 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,094 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,206 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,319 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,434 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,552 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,664 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,776 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:31,889 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,007 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,106 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,217 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,325 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,431 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,552 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,661 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,771 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:32,895 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,002 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,117 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,229 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,340 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,453 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,569 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,670 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,794 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:33,907 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,011 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,131 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,237 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,341 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,453 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,558 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,657 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,774 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,882 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:34,981 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,103 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,205 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,311 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,422 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,534 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,652 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,761 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:35,886 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,015 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,129 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,233 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,344 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,447 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,562 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,672 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,780 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:36,900 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,016 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,110 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,218 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,331 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,454 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,569 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,677 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,776 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:37,897 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,002 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,115 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,232 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,355 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,466 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,580 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,683 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,799 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:38,903 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,020 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,137 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,261 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,363 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,478 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,590 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,694 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,808 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:39,930 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,050 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,163 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,280 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,390 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,507 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,621 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,741 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,846 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:40,968 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,076 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,186 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,292 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,403 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,512 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,614 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,723 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,823 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:41,958 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,063 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,172 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,295 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,398 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,507 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,629 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,742 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,857 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:42,979 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,077 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,193 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,298 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,421 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,533 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,639 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,740 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,850 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:43,957 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,065 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,182 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,286 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,407 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,509 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,616 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,723 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,839 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:44,960 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:45,069 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:54:45,184 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:55:59,226  INFO ilens-edge_engine building publishers 
2021-12-28 14:55:59,405  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 14:56:00,496  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 14:56:00,690 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:00,812 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:00,922 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,056 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,170 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,279 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,390 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,502 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,611 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,724 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,813 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:01,923 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,029 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,121 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,224 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,318 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,415 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,526 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,629 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,726 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,839 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:02,933 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,038 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,140 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,230 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,320 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,418 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,510 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,600 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,702 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,799 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:03,890 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,000 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,103 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,200 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,299 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,396 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,496 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,597 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,693 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,774 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,876 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:04,984 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,083 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,184 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,282 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,368 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,471 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,568 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,777 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,874 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:05,991 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,108 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,218 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,326 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,442 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,549 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,660 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,778 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:06,884 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,011 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,127 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,233 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,349 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,455 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,555 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,663 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,780 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:07,887 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,013 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,124 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,242 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,351 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,471 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,576 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,785 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:08,895 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,012 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,125 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,232 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,352 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,463 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,575 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,687 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,796 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:09,909 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,017 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,130 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,231 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,355 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,464 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,586 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,691 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,806 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:10,903 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,050 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,192 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,310 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,421 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,539 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,653 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,766 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:11,881 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,003 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,117 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,227 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,340 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,460 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,574 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,686 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,796 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:12,912 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,034 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,168 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,293 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,396 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,503 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,622 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,727 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,826 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:13,946 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,063 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,179 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,289 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,403 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,533 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,656 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,768 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,868 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:14,990 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,099 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,211 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,346 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,457 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,572 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,802 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:15,906 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,023 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,130 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,258 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,366 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,485 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,591 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,700 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,819 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:16,933 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,059 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,177 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,403 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,511 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,629 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,735 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,851 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:17,961 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,080 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,196 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,304 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,417 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,530 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,624 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,743 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,850 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:18,971 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,083 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,190 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,293 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,402 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,506 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,621 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,726 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,836 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:19,964 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,088 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,198 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,312 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,412 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,521 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,620 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,717 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,832 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:20,945 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,068 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,182 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,284 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,407 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,514 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,637 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,749 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,860 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:21,958 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,080 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,192 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,301 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,423 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,531 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,642 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,743 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,861 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:22,973 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,089 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,231 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,350 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,464 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,573 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,690 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,809 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:23,938 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,072 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,191 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,303 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,415 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,527 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,647 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,759 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,877 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:24,997 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,117 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,227 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,347 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,451 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,567 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,674 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,788 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:25,896 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,017 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,129 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,245 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,357 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,477 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,585 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,709 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,823 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:26,942 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,054 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,168 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,275 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,387 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,501 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,613 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,712 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,827 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:27,933 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,070 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,192 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,307 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,417 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,535 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,643 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,755 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,868 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:28,990 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,097 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,210 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,324 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,446 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,559 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,675 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,777 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:29,885 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,009 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,126 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,237 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,351 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,460 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,569 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,681 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,790 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:30,893 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,027 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,138 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,243 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,353 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,473 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,587 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,704 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,817 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:31,932 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,045 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,157 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,261 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,382 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,493 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,603 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,719 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,835 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:32,957 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,067 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,178 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,277 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,388 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,497 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,605 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,723 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,850 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:33,989 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:34,114 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:34,229 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:34,346 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:34,460 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:56:34,569 ERROR ilens-edge_engine Error: too many values to unpack (expected 2)
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 324, in _predict
    _, frame = self.track_bags(self.ct2, dets, frame, mrp)
ValueError: too many values to unpack (expected 2)
2021-12-28 14:57:10,516  INFO ilens-edge_engine building publishers 
2021-12-28 14:57:10,719  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 14:57:11,758  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 14:59:12,223  INFO ilens-edge_engine building publishers 
2021-12-28 14:59:12,376  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 14:59:13,262  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:00:13,954  INFO ilens-edge_engine building publishers 
2021-12-28 15:00:14,134  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:00:15,253  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:04:25,823  INFO ilens-edge_engine building publishers 
2021-12-28 15:04:25,990  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:04:27,038  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:07:07,830  INFO ilens-edge_engine building publishers 
2021-12-28 15:07:07,988  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:07:08,878  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:07:10,921 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:07:14,811 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:07:14,912 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:07:19,867 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:12:55,437  INFO ilens-edge_engine building publishers 
2021-12-28 15:12:55,679  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:12:56,549  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:16:00,190  INFO ilens-edge_engine building publishers 
2021-12-28 15:16:00,384  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:16:01,302  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:16:04,192 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:06,445 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:07,267 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:08,826 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:11,338 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:25,830 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:38,241 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:39,062 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:50,295 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:55,240 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:16:57,404 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:17:00,171 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:17:06,076 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:17:10,300 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:17:17,017 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:17:19,467 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:17:21,933 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:21:54,517  INFO ilens-edge_engine building publishers 
2021-12-28 15:21:54,665  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:21:55,504  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:39:44,032  INFO ilens-edge_engine building publishers 
2021-12-28 15:39:44,187  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:39:45,010  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:40:07,270 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:41:25,684 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 15:41:25,685 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 15:41:25,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,756 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,769 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,770 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,770 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,771 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,779 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,780 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,780 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,780 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,781 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,794 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,794 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,795 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,795 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,796 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,797 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,810 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,811 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,811 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,812 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,812 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,813 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,825 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,826 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,827 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,827 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,827 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,828 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,841 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,842 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,842 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,843 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,843 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,844 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,857 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,858 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,858 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,859 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,859 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,860 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,873 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,873 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,874 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,874 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,875 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,876 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,889 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,890 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,891 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,891 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,905 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,906 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,906 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,907 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,907 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,921 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,922 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,923 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,923 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,924 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,924 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,937 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,938 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,939 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,939 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,939 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,940 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,952 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,953 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,954 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,954 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,955 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,955 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,968 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,969 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,970 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,972 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,984 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,985 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,986 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:25,986 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:25,987 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:25,987 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,000 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,001 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,002 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,002 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,003 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,016 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,018 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,018 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,019 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,019 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,020 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,032 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,033 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,034 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,034 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,034 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,035 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,047 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,048 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,050 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,051 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,052 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,053 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,063 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,064 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,066 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,066 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,067 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,078 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,079 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,080 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,080 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,081 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,093 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,094 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,095 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,095 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,095 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,096 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,108 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,109 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,109 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,110 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,110 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,111 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,123 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,125 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,126 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,126 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,127 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,128 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,139 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,140 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,141 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,141 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,142 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,142 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,155 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,156 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,157 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,157 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,158 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,159 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,170 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,171 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,171 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,172 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,172 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,173 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,186 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,187 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,188 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,189 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,190 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,191 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,201 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,203 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,204 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,204 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,204 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,205 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,216 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,217 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,218 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,219 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,220 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,231 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,233 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,234 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,234 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,236 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,247 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,248 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,249 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,249 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,250 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,251 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,262 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,264 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,265 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,266 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,267 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,269 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,277 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,278 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,279 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,279 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,280 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,281 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,292 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,294 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,295 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,296 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,297 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,298 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,307 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,308 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,309 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,310 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,311 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,312 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,323 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,324 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,325 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,325 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,325 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,326 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,338 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,339 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,340 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,341 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,341 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,342 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,354 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,355 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,356 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,357 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,358 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,359 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,369 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,370 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,370 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,371 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,371 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,372 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,384 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,386 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,387 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,387 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,388 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,389 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,400 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,402 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,403 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,403 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,404 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,404 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,415 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,416 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,417 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,417 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,418 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,419 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,431 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,432 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,433 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,434 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,436 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,446 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,447 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,448 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,448 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,448 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,449 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,461 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,462 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,464 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,464 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,466 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,467 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,476 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,478 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,479 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,481 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,482 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,492 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,493 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,494 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,494 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,494 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,495 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,506 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,507 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,507 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,508 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,508 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,509 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,522 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,524 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,524 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,526 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,527 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,537 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,538 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,540 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,540 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,542 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,543 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,552 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,553 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,554 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,554 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,555 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,555 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,567 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,568 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,570 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,570 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,571 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,572 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,583 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,584 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,585 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,586 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,586 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,587 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,598 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,599 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,600 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,601 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,602 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,602 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,614 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,615 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,616 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,616 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,617 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,618 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,630 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,631 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,632 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,632 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,633 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,634 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,645 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,646 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,647 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,647 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,647 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,648 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,661 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,662 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,663 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,663 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,664 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,664 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,676 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,678 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,679 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,679 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,680 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,692 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,693 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,694 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,694 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,694 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,695 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,706 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,707 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,708 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,708 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,709 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,709 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,722 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,723 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,724 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,724 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,725 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,726 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,737 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,738 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,739 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,739 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,739 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,740 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,753 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,754 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,756 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,756 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,758 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,759 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,768 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,769 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,769 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,770 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,770 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,783 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,784 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,786 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,786 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,787 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,788 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,798 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,799 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,800 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,800 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,801 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,802 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,813 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,814 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,815 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,815 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,816 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,817 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,829 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,830 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,832 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,832 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,833 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,834 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,844 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,845 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,847 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,847 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,848 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,849 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,860 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,861 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,862 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,863 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,863 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,865 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,875 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,877 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,878 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,879 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,880 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,881 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,889 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,891 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,891 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,892 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,904 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,905 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,906 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,906 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,906 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,907 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,920 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,921 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,921 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,921 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,922 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,922 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,936 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,937 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,938 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,938 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,939 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,951 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,952 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,953 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,953 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,953 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,954 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,966 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,968 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,970 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,973 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,981 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,982 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,983 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,983 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,984 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,984 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,997 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:26,999 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:26,999 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:26,999 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,001 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,013 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,014 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,015 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,015 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,016 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,016 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,029 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,030 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,031 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,031 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,032 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,032 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,045 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,046 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,047 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,047 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,048 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,048 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,061 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,062 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,063 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,063 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,064 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,064 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,077 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,078 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,079 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,079 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,079 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,080 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,093 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,094 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,095 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,095 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,096 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,096 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,109 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,110 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,111 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,111 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,112 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,112 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,124 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,126 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,127 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,127 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,128 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,129 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,140 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,142 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,143 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,144 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,144 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,145 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,154 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,155 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,157 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,157 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,158 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,159 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,170 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,171 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,173 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,174 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,176 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,186 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,187 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,187 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,188 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,188 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,189 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,201 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,202 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,203 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,203 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,204 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,205 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,217 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,219 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,219 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,220 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,221 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,232 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,233 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,234 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,234 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,236 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,248 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,249 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,250 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,251 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,252 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,253 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,264 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,265 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,266 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,267 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,268 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,285 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,285 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,286 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,287 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,287 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,294 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,295 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,295 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,295 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,296 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,297 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,309 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,310 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,311 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,311 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,311 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,312 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,325 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,327 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,329 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,329 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,332 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,340 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,341 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,342 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,342 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,343 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,343 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,356 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,357 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,357 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,358 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,358 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,359 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,372 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,373 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,374 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,374 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,375 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,376 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,387 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,388 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,389 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,389 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,402 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,403 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,404 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,404 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,405 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,405 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,418 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,419 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,420 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,420 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,421 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,421 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,433 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,436 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,437 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,438 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,449 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,450 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,451 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,451 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,465 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,466 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,467 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,467 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,468 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,481 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,483 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,495 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,496 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,496 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,496 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,497 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,497 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,511 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,512 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,513 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,513 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,513 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,514 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,526 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,527 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,528 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,528 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,528 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,529 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,541 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,542 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,543 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,543 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,543 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,544 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,556 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,557 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,557 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,558 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,558 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,559 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,572 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,574 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,575 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,576 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,577 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,578 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,587 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,588 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,589 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,590 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,590 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,602 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,603 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,605 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,605 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,607 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,608 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,617 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,618 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,618 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,619 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,620 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,620 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,632 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,633 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,634 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,634 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,635 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,636 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,647 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,648 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,649 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,649 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,650 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,651 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,663 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,664 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,665 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,665 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,666 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,666 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,678 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,679 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,680 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,680 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,681 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,682 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,694 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,695 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,696 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,696 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,697 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,698 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,710 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,711 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,712 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,712 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,713 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,714 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,726 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,727 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,728 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,728 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,729 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,729 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,742 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,743 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,744 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,744 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,745 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,746 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,757 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,758 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,759 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,759 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,760 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,761 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,773 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,774 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,775 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,776 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,777 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,778 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,788 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,789 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,790 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,790 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,791 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,792 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,804 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,805 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,806 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,806 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,807 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,820 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,821 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,822 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,823 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,823 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,824 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,836 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,837 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,838 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,839 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,840 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,852 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,853 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,854 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,855 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,855 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,856 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,868 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,869 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,869 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,870 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,871 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,886 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,886 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,887 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,888 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,900 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,901 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,902 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,902 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,904 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,915 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,916 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,916 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,917 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,917 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,918 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,930 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,931 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,932 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,932 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,933 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,933 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,946 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,947 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,948 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,948 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,948 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,949 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,962 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,963 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,964 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,964 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,965 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,965 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,978 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,979 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,980 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,980 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,980 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,981 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,994 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,995 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,995 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:27,996 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:27,996 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:27,997 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,010 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,011 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,012 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,012 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,013 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,014 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,026 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,027 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,028 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,028 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,029 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,030 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,042 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,043 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,044 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,044 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,045 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,045 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,057 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,058 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,059 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,059 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,060 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,061 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,073 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,074 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,075 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,076 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,077 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,077 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,088 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,089 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,090 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,090 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,091 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,092 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,104 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,105 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,105 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,105 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,106 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,119 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,120 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,120 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,121 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,121 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,122 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,135 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,136 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,136 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,137 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,137 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,149 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,150 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,151 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,152 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,152 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,154 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,165 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,166 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,167 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,167 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,168 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,168 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,180 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,181 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,183 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,183 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,184 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,186 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,196 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,197 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,199 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,199 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,201 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,202 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,211 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,212 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,213 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,213 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,214 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,214 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,226 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,229 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,230 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,231 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,232 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,241 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,241 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,242 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,243 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,243 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,244 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,256 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,257 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,258 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,258 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,259 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,260 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,272 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,273 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,274 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,274 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,274 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,275 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,287 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,288 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,288 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,289 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,304 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,305 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,306 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,306 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,306 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,307 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,319 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,320 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,320 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,321 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,321 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,322 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,334 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,335 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,336 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,336 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,337 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,338 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,349 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,350 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,352 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,352 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,353 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,354 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,365 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,367 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,369 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,369 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,370 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,372 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,381 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,382 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,382 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,383 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,383 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,384 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,396 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,397 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,398 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,398 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,398 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,399 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,412 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,415 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,416 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,417 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,427 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,428 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,429 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,429 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,429 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,430 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,442 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,443 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,443 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,444 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,444 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,445 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,458 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,459 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,460 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,460 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,461 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,461 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,473 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,474 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,476 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,476 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,477 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,488 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,489 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,491 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,492 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,493 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,504 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,505 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,505 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,506 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,506 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,507 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,519 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,520 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,520 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,521 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,522 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,535 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,536 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,538 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,538 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,539 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,539 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,550 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,551 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,551 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,551 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,552 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,552 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,565 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,566 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,566 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,567 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,567 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,568 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,580 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,581 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,581 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,582 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,583 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,596 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,597 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,598 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,598 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,598 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,599 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,611 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,611 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,612 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,612 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,626 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:41:28,635 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 15:41:28,636 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 15:41:28,636 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:41:28,637 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:41:28,831 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 15:41:28,832 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 15:41:34,108  INFO ilens-edge_engine building publishers 
2021-12-28 15:41:34,257  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:41:35,107  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:42:42,691  INFO ilens-edge_engine building publishers 
2021-12-28 15:42:42,856  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:42:43,678  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:43:00,713 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 15:43:00,713 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 15:43:00,728 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,729 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,730 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,731 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,731 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,732 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,738 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,739 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,740 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,740 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,741 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,742 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,754 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,755 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,756 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,756 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,757 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,758 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,769 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,770 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,771 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,772 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,773 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,785 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,786 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,787 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,787 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,787 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,788 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,801 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,802 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,803 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,803 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,804 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,804 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,817 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,818 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,819 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,820 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,821 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,833 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,834 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,835 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,836 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,836 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,837 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,849 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,850 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,851 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,852 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,852 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,853 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,865 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,866 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,866 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,866 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,867 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,880 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,881 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,881 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,883 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,896 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,896 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,897 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,897 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,898 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,898 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,911 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,912 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,912 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,913 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,913 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,914 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,927 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,928 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,928 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,929 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,929 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,930 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,942 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,943 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,943 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,943 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,944 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,945 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,957 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,958 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,959 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,959 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,960 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,961 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,973 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,974 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,975 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,975 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,976 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,977 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,989 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,990 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,991 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:00,991 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:00,992 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:00,993 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,005 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,006 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,007 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,007 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,008 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,009 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,021 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,022 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,023 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,023 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,024 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,025 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,036 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,037 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,038 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,038 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,039 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,040 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,052 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,054 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,056 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,056 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,057 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,059 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,067 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,069 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,071 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,071 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,073 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,075 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,082 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,083 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,084 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,084 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,085 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,086 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,098 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,099 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,100 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,100 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,101 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,113 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,115 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,115 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,116 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,116 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,117 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,128 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,129 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,131 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,131 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,132 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,134 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,143 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,145 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,146 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,147 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,148 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,149 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,159 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,161 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,161 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,162 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,174 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,175 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,177 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,177 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,178 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,178 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,189 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,190 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,192 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,192 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,193 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,194 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,204 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,205 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,206 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,206 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,207 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,208 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,220 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,221 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,222 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,223 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,224 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,235 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,236 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,237 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,250 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,252 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,252 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,253 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,254 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,266 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,267 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,268 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,268 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,282 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,283 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,283 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,284 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,284 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,285 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,298 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,299 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,299 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,300 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,314 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,315 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,315 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,316 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,335 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,336 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,337 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,337 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,338 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,339 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,345 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,346 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,346 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,347 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,348 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,359 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,360 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,361 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,361 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,362 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,363 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,377 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,378 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,379 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,380 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,394 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,395 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,395 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,396 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,407 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,408 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,408 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,409 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,420 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,421 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,423 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,437 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,438 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,439 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,440 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,441 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,451 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,453 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,453 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,454 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,455 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,468 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,469 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,471 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,472 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,473 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,483 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,484 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,486 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,486 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,487 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,498 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,499 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,500 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,500 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,501 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,513 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,514 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,515 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,516 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,517 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,528 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,529 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,531 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,532 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,534 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,544 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,547 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,547 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,548 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,550 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,559 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,559 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,560 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,560 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,561 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,561 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,574 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,574 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,575 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,575 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,576 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,577 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,590 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,591 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,592 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,593 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,594 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,595 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,606 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,607 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,608 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,608 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,609 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,610 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,622 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,623 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,624 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,624 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,625 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,626 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,637 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,638 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,639 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,639 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,640 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,652 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,653 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,654 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,655 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,656 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,657 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,667 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,669 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,670 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,670 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,671 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,671 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,683 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,685 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,686 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,686 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,686 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,687 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,698 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,699 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,700 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,701 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,702 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,703 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,713 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,714 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,716 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,717 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,718 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,719 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,728 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,728 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,729 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,730 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,730 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,731 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,744 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,744 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,745 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,746 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,746 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,748 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,759 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,762 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,763 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,764 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,765 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,774 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,775 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,776 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,776 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,776 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,777 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,790 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,791 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,792 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,793 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,793 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,794 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,805 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,809 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,809 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,811 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,812 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,821 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,822 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,823 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,823 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,824 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,825 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,835 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,836 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,837 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,837 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,838 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,851 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,852 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,853 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,853 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,854 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,854 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,866 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,867 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,869 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,869 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,871 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,883 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,885 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,897 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,898 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,899 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,899 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,900 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,901 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,913 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,914 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,915 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,915 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,915 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,916 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,929 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,930 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,931 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,931 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,931 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,932 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,945 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,946 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,946 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,947 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,947 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,948 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,960 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,961 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,962 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,963 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,963 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,965 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,976 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,977 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,978 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,979 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,980 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,981 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,992 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,993 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,994 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:01,994 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:01,994 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:01,995 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,008 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,009 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,010 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,010 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,011 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,012 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,024 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,025 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,026 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,027 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,027 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,028 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,039 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,040 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,041 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,042 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,042 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,043 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,054 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,055 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,056 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,057 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,057 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,058 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,070 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,071 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,072 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,072 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,072 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,073 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,085 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,086 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,087 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,087 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,088 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,100 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,102 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,103 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,104 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,116 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,118 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,118 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,119 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,120 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,131 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,132 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,133 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,133 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,133 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,134 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,147 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,149 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,150 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,151 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,152 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,154 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,161 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,162 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,164 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,164 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,165 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,167 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,177 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,178 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,179 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,179 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,180 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,180 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,192 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,193 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,194 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,194 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,194 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,195 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,207 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,209 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,210 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,210 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,211 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,211 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,224 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,225 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,225 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,226 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,238 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,239 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,240 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,240 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,241 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,253 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,254 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,254 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,255 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,255 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,256 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,269 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,270 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,271 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,271 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,272 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,272 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,284 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,286 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,288 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,288 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,299 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,301 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,302 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,302 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,303 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,314 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,316 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,317 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,318 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,329 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,329 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,331 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,332 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,333 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,345 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,346 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,346 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,359 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,360 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,360 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,378 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,379 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,379 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,380 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,390 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,391 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,392 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,393 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,394 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,405 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,406 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,407 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,407 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,407 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,408 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,423 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,423 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,424 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,438 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,440 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,440 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,441 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,442 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,454 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,455 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,455 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,455 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,456 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,467 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,468 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,482 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,483 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,484 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,485 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,498 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,500 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,501 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,502 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,503 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,513 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,514 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,516 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,516 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,517 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,528 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,529 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,529 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,530 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,530 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,544 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,546 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,546 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,547 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,548 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,559 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,560 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,561 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,561 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,562 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,562 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,574 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,575 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,575 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,575 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,576 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,577 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,590 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,592 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,592 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,593 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,595 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,604 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,606 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,608 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,608 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,609 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,611 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,620 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,621 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,622 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,622 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,623 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,623 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,636 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,637 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,638 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,638 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,639 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,639 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,651 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,653 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,653 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,654 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,654 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,655 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,666 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,667 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,669 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,669 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,670 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,671 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,682 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,683 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,685 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,685 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,686 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,686 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,696 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,703 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,704 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,704 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,704 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,705 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,711 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,712 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,713 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,713 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,714 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,715 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,727 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,728 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,729 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,729 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,730 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,730 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,742 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,744 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,745 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,745 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,746 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,747 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,758 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,759 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,760 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,760 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,762 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,773 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,774 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,776 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,776 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,777 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,779 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,789 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,791 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,792 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,793 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,794 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,795 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,804 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,805 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,806 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,806 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,806 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,807 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,820 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,822 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,823 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,824 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,825 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,834 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,835 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,837 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,837 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,838 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,840 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,850 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,851 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,852 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,853 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,854 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,855 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,866 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,867 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,868 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,868 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,869 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,884 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,885 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,897 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,899 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,901 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,901 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,904 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,912 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,913 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,914 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,914 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,915 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,915 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,928 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,929 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,929 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,930 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,930 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,931 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,944 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,945 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,946 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,946 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,947 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,947 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,960 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,961 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,962 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,962 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,962 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,963 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,974 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,975 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,976 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,976 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,977 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,978 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,989 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,990 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,992 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:02,993 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:02,994 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:02,995 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,005 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,006 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,007 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,008 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,008 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,010 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,021 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,022 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,023 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,023 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,024 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,025 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,037 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,038 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,039 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,040 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,040 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,041 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,053 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,054 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,054 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,055 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,055 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,056 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,069 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,070 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,071 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,071 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,071 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,072 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,084 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,085 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,086 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,086 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,086 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,100 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,102 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,103 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,104 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,105 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,116 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,117 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,118 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,118 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,119 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,131 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,132 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,133 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,134 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,145 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,146 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,146 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,147 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,147 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,160 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,161 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,162 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,162 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,163 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,163 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,176 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,177 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,179 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,179 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,180 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,181 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,191 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,192 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,193 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,194 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,194 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,195 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,206 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,207 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,208 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,208 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,209 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,209 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,225 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,226 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,228 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,240 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,241 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,241 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,253 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,254 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,256 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,256 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,257 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,259 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,268 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,271 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,271 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,273 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,274 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,283 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,284 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,286 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,287 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,289 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,298 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,299 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,300 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,300 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,301 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,314 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,315 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,316 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,316 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,317 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,328 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,329 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,329 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,330 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,345 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,349 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,359 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,363 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,364 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,365 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,373 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,375 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,377 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,377 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,378 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,379 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,389 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,392 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,392 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,394 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,404 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,405 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,406 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,407 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,408 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,420 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,420 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,421 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,422 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,434 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,436 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,436 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,450 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,450 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,451 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,451 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,465 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,466 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,468 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,468 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,469 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,481 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,483 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,483 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,484 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,496 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,497 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,499 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,499 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,500 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,502 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,511 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,512 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,513 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,514 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,515 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,516 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,526 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,528 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,529 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,529 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,530 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,543 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,544 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,545 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,545 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,546 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,547 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,558 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,559 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,560 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,560 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,561 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,561 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,574 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,575 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,576 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,576 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,577 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,578 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,590 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,591 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,591 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,592 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,593 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,605 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,608 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,609 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,609 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,610 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,611 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,620 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,620 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,621 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,621 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,621 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,622 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,635 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,636 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,637 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,637 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,639 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,650 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,651 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,651 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,652 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,652 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,653 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,665 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,666 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,668 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,668 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,669 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,670 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,681 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,682 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,683 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,683 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,683 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,684 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,697 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,698 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,700 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,700 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,702 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,703 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,712 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,714 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,715 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,715 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,716 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,717 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,727 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,728 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,730 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,730 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,731 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,731 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,742 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,743 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,744 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,744 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,745 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,746 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,758 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,759 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,760 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,760 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,762 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,773 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,774 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,775 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,775 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,776 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,777 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,789 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,790 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,791 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,791 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,792 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,793 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,804 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,805 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,806 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,806 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,807 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,820 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,820 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,821 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,821 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,822 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,834 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,835 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,836 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,836 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,837 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,850 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,851 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,852 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,852 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,852 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,853 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,866 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,866 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,867 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,868 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,869 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,884 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,887 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,897 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,898 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,899 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,899 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,900 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,902 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,913 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,914 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,916 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,916 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,917 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,918 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,929 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,930 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,931 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,931 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,931 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,932 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,943 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,944 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,945 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,946 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,947 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,948 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,959 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,960 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,961 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,961 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,962 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,962 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,974 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,975 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,977 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,977 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,978 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,979 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,989 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,990 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,991 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:03,992 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:03,992 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:03,993 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,004 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,005 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,006 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,006 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,007 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,007 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,020 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,021 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,021 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,021 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,022 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,023 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,035 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,036 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,037 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,037 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,038 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,039 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,051 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,051 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,052 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,053 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,053 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,054 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,067 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,067 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,069 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,069 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,070 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,082 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,083 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,084 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,084 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,085 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,086 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,098 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,099 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,101 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,101 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,103 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,104 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,113 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,114 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,115 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,116 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,116 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,129 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,130 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,131 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,131 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,131 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,132 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,144 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,145 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,145 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,146 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,146 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,147 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,159 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,161 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,162 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,163 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,176 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,177 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,178 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,178 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,179 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,180 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,190 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,191 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,192 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,192 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,193 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,194 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,206 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,207 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,207 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,208 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,208 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,209 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,221 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,222 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,223 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,223 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,224 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,238 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,238 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,239 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,252 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,253 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,253 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,254 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,255 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,268 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,269 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,269 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,282 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,284 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,285 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,285 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,285 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,298 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,302 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,303 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,304 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,314 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,316 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,317 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,318 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,329 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,331 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,332 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,332 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,345 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,348 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,362 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,363 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,363 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,376 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,377 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,378 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,378 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,379 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,380 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,392 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,393 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,394 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,394 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,395 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,407 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,409 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,409 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,410 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,411 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,425 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,426 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,428 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,437 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,438 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,438 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,439 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,439 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,453 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,454 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,455 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,456 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,457 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,467 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,468 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,483 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,484 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,484 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,485 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,498 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,499 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,501 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,501 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,503 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,514 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,515 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,516 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,516 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,517 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,529 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,529 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,530 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,530 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,531 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,532 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,544 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,547 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,547 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,549 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,550 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,559 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,560 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,561 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,561 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,562 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,562 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,575 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,576 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,577 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,578 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,578 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,579 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,590 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,591 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,592 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,592 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,593 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,594 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,606 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,607 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,609 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,609 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,610 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,611 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,622 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,623 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,624 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,624 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,625 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,626 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,637 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,638 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,639 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,639 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,640 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,652 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,653 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,654 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,654 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,654 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,655 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,667 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,669 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,670 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,670 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,671 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,672 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,682 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,683 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,684 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,684 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,684 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,685 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,698 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,699 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,700 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,700 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,701 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,702 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,713 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,715 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,716 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,717 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,718 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,719 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,729 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,730 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,730 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,731 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,731 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,732 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,744 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,745 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,745 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,746 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,746 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,747 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,760 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,761 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,762 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,762 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,763 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,776 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,777 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,778 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,778 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,779 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,780 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,791 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,792 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,793 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,794 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,794 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,795 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,806 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,808 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,808 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,809 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,810 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,821 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,822 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,822 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,823 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,823 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,824 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,836 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,837 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,839 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,839 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,840 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,852 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,853 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,853 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,854 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,854 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,855 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,867 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,868 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,869 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,869 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,870 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,883 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,884 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,885 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,885 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,886 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,899 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,900 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,902 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,902 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,904 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,905 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,913 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,914 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,916 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,916 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,916 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,917 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,929 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,930 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,930 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,931 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,931 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,932 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,944 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,945 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,947 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,947 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,948 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,950 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,959 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,960 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,961 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,961 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,961 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,962 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,974 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,976 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,977 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,978 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,979 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,981 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,989 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,991 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,992 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:04,993 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:04,994 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:04,996 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,005 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,006 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,006 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,007 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,007 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,008 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,020 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,021 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,022 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,022 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,023 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,023 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,035 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,036 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,036 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,037 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,037 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,038 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,051 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,052 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,053 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,053 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,054 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,054 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,066 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,068 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,069 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,070 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,071 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,072 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,081 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,082 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,083 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,083 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,084 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,085 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,097 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,099 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,100 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,101 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,101 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,112 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,113 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,113 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,113 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,114 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,115 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,127 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,128 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,128 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,128 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,129 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,130 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,142 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,143 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,145 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,146 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,147 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,158 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,159 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,159 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,160 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,174 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,174 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,175 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,175 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,176 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,189 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,190 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,191 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,191 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,192 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,192 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,205 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,206 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,207 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,207 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,208 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,208 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,221 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,222 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,223 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,223 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,224 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,224 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,239 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,240 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,252 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,253 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,254 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,254 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,255 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,270 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,271 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,272 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,282 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,283 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,284 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,285 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,285 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,297 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,299 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,299 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,300 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,314 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,314 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,315 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,329 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,331 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,332 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,333 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,345 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,349 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,359 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,360 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,360 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,361 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,377 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,377 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,377 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,378 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,390 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,391 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,392 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,393 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,394 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,409 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,409 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,410 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,411 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,425 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,425 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,426 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,437 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,439 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,439 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,439 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,453 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,454 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,454 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,455 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,455 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,467 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,468 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,470 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,482 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,483 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,484 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,497 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,498 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,499 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,499 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,500 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,501 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,513 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,514 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,515 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,515 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,516 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,516 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,528 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,529 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,529 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,530 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,530 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,544 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,547 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,547 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,548 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,550 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,558 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,559 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,560 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,561 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,561 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,562 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,574 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,575 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,577 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,577 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,578 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,580 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,590 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,591 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,591 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,592 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,593 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,604 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,605 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,606 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,606 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,607 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,608 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,620 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,621 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,623 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,623 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,624 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,626 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,636 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,636 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,637 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,637 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,638 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,651 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,652 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,652 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,653 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,653 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,654 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,666 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,667 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,668 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,669 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,669 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,670 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,682 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,683 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,684 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,684 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,685 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,686 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,697 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,698 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,699 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,699 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,700 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,701 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,713 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,714 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,715 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,715 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,716 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,717 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,728 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,729 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,729 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,730 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,730 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,731 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,744 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,745 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,746 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,747 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,748 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,749 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,760 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,762 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,762 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,762 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,763 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,775 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,776 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,778 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,778 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,779 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,781 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,791 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,792 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,793 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,793 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,794 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,794 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,806 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,807 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,808 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,808 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,809 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,821 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,823 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,824 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,825 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,826 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,827 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,837 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,838 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,839 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,839 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,840 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,853 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,854 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,855 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,855 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,856 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,857 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,869 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,871 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,871 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,872 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,872 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,887 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,887 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,888 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,890 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,899 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,901 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,902 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,903 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,904 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,904 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,914 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,915 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,917 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,917 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,918 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,919 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,930 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,931 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,932 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,932 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,933 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,934 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,945 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,947 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,948 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,949 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,950 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,951 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,960 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,961 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,963 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,963 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,964 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,965 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,976 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,977 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,977 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,978 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,978 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,979 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,992 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,993 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,993 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:05,993 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:05,994 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:05,995 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,007 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,008 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,008 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,009 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,009 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,010 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,022 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,023 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,024 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,024 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,024 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,025 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,038 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,039 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,040 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,040 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,041 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,042 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,054 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,055 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,056 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,057 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,057 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,058 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,069 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,070 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,071 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,071 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,071 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,072 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,084 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,085 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,086 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,086 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,087 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,100 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,101 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,102 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,103 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,104 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,116 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,117 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,118 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,118 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,119 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,120 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,132 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,133 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,134 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,135 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,146 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,147 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,147 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,148 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,148 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,149 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,161 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,162 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,162 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,163 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,163 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,164 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,177 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,178 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,178 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,178 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,179 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,180 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,193 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,194 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,195 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,195 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,196 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,196 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,208 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,209 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,209 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,210 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,210 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,211 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,223 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,224 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,225 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,226 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,226 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,238 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,239 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,240 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,240 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,241 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,254 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,255 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,256 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,256 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,256 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,257 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,269 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,270 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,271 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,271 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,271 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,272 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,284 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,285 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,286 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,287 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,287 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,299 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,301 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,302 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,303 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,314 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,315 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,316 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,316 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,317 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,330 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,331 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,332 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,332 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,333 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,345 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,347 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,348 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,361 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,362 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,362 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,363 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,376 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,377 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,377 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,378 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,378 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,379 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,392 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,393 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,394 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,394 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,395 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,408 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,409 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,411 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,411 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,424 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,425 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,427 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,427 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,428 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,430 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,439 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,440 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,441 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,441 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,441 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,442 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,454 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,455 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,456 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,456 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,457 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,457 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,470 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,470 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,471 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,472 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,486 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,486 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,486 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,487 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,501 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,502 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,503 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,503 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,515 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,516 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,517 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,518 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,518 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,519 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,531 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,532 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,533 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,533 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,534 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,535 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,552 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,553 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,554 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,554 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,554 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,555 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,561 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,562 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,563 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,564 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,565 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,566 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,577 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,578 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,579 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:43:06,579 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 15:43:06,580 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 15:43:06,581 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 317, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 15:47:18,552  INFO ilens-edge_engine building publishers 
2021-12-28 15:47:18,699  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:47:19,541  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:47:21,121 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:21,229 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:23,178 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:23,280 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:23,911 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:25,169 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:25,272 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:25,894 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:25,996 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:27,860 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:27,951 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:28,166 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:28,603 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:28,697 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:30,281 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:30,379 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:32,926 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:33,020 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:33,767 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:35,446 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:36,068 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:36,169 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:39,613 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:39,709 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:39,909 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:40,478 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:42,684 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:42,788 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:43,465 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:43,566 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:45,593 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:45,687 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:47,399 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:47,493 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:50,439 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:52,273 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:52,897 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:53,000 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:57,105 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:57,783 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:57,879 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:59,383 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:47:59,489 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:48:00,163 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:45,027  INFO ilens-edge_engine building publishers 
2021-12-28 15:57:45,185  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 15:57:46,042  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 15:57:47,238 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:47,341 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:48,006 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:50,270 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:52,059 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:52,784 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:52,885 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:56,887 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:57,097 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:57,620 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:59,227 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:59,323 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:57:59,951 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:58:00,046 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:58:01,955 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:58:02,580 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:58:02,678 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:58:02,780 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 15:58:04,229 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 190, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:00:21,927  INFO ilens-edge_engine building publishers 
2021-12-28 16:00:22,092  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:00:22,958  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:00:24,691 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 326, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 191, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:00:27,083 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 326, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 191, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:00:27,830 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 326, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 191, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:00:29,599 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 326, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 191, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 170, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:01,689  INFO ilens-edge_engine building publishers 
2021-12-28 16:02:01,848  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:02:02,673  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:02:05,238 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:07,129 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:07,858 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:07,953 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:10,216 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:12,727 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:19,068 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:23,745 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:26,031 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:26,873 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:35,836 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:36,727 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:43,299 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:44,142 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:48,413 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:52,973 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:53,628 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:53,732 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:02:55,498 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:03:00,316 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:03:03,330 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 330, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 195, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:03:59,516  INFO ilens-edge_engine building publishers 
2021-12-28 16:03:59,671  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:04:00,572  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:04:57,649  INFO ilens-edge_engine building publishers 
2021-12-28 16:04:57,795  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:04:58,031 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 16:04:58,031  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:04:58,031 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 16:05:05,412  INFO ilens-edge_engine building publishers 
2021-12-28 16:05:05,559  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:05:06,425  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:05:27,361 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 331, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 196, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:22:34,360  INFO ilens-edge_engine building publishers 
2021-12-28 16:22:34,512  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:22:35,489  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:22:36,914 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:22:41,969 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:31:04,653  INFO ilens-edge_engine building publishers 
2021-12-28 16:31:04,996  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:31:06,119  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:32:12,966  INFO ilens-edge_engine building publishers 
2021-12-28 16:32:13,130  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:32:14,102  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:38:10,639  INFO ilens-edge_engine building publishers 
2021-12-28 16:38:10,946  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:38:11,788  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:38:12,319 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:12,941 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:13,059 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:14,909 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:15,011 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:15,661 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:15,773 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:19,626 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:19,747 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:20,371 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:20,490 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:22,947 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:23,059 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:24,440 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:25,053 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:25,176 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:26,926 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:27,039 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:27,562 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:27,699 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:29,603 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:29,723 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:30,411 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:32,618 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:34,221 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:34,339 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:35,093 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:38,686 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:39,425 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:41,684 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:42,472 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:43,850 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:44,516 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:44,671 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:46,316 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:46,465 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:47,030 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:47,146 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:48,963 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:49,858 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:51,279 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:51,418 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:52,030 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:52,159 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:53,860 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:53,972 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:56,059 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:56,818 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:38:59,543 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:01,518 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:01,634 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:03,337 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:03,984 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:04,101 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:08,379 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:08,494 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:08,736 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:09,224 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:10,559 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:10,668 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:11,263 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:11,378 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:13,579 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:13,694 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:14,300 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:14,429 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:16,162 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:22,394 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:23,004 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:23,121 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:24,857 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:25,484 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:25,600 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:27,299 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:28,036 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:30,032 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:30,778 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:30,899 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:32,647 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:33,280 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:33,427 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:37,556 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:37,691 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:38,361 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:39,699 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:39,817 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:40,463 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:40,577 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:42,274 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:43,010 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:44,468 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:44,579 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:45,199 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:45,312 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:46,812 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:49,463 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:50,102 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:50,219 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:52,185 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:52,925 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:54,414 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:54,529 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:55,160 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:55,273 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:56,735 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:56,851 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:57,458 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:39:57,571 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:00,025 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:01,373 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:02,120 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:06,081 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:06,813 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:06,941 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:08,981 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:09,630 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:09,790 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:11,680 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:12,400 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:13,674 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:14,489 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:17,057 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:17,202 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:18,711 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:19,367 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:20,984 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:25,553 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:27,820 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:30,308 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:37,795 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:40,604 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:42,267 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 332, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 197, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 174, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:54,542  INFO ilens-edge_engine building publishers 
2021-12-28 16:40:54,738  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:40:55,629  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:40:56,924 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:40:59,298 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:07,081 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:07,225 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:11,694 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:12,508 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:16,373 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:17,186 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:24,302 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:28,662 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:29,330 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:33,641 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:43,266 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:44,061 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:50,255 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:41:58,025 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:02,714 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:02,837 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:02,975 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:03,117 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:03,671 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:05,931 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:07,925 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:08,732 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:10,998 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:13,455 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:19,853 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:24,498 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:27,577 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:34,437 ERROR ilens-edge_engine Error: 1
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 333, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = classes)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 198, in update_bag_count
    if self.validate_point_position(centroid):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 175, in validate_point_position
    if line_y1 < point[1] < line_y2 or line_y2 < point[1] < line_y1:
KeyError: 1
2021-12-28 16:42:43,368  INFO ilens-edge_engine building publishers 
2021-12-28 16:42:43,579  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:42:44,484  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:42:53,708  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 16:42:53,713  INFO ilens-edge_engine Count: None, Print Found: True
2021-12-28 16:42:56,310  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 16:42:56,321  INFO ilens-edge_engine Count: None, Print Found: True
2021-12-28 16:44:18,736  INFO ilens-edge_engine building publishers 
2021-12-28 16:44:19,044  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:44:19,917  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:47:13,798  INFO ilens-edge_engine building publishers 
2021-12-28 16:47:13,953  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 16:47:14,821  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 16:47:32,978 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 16:47:32,978 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 16:47:32,996 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:32,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:32,999 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:32,999 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,000 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,001 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,003 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,004 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,005 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,006 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,007 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,018 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,019 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,020 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,020 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,020 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,021 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,033 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,034 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,034 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,035 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,035 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,036 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,049 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,050 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,050 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,050 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,051 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,052 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,064 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,065 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,066 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,067 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,067 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,081 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,082 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,082 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,083 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,083 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,096 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,097 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,098 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,098 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,099 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,100 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,111 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,111 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,112 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,112 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,113 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,113 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,126 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,127 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,127 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,128 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,129 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,129 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,141 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,142 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,143 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,143 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,144 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,144 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,157 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,158 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,159 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,159 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,172 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,173 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,174 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,174 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,175 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,176 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,187 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,188 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,188 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,189 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,189 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,190 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,203 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,204 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,205 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,205 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,206 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,206 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,219 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,221 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,221 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,222 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,223 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,235 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,236 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,237 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,238 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,251 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,252 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,253 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,254 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,254 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,256 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,268 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,270 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,271 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,272 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,282 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,283 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,284 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,285 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,286 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,287 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,297 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,298 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,300 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,300 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,301 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,302 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,314 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,316 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,317 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,319 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,329 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,332 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,332 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,334 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,345 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,349 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,362 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,363 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,363 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,377 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,377 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,378 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,378 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,392 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,393 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,393 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,395 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,407 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,407 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,407 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,408 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,423 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,438 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,438 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,439 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,439 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,440 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,453 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,454 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,454 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,454 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,455 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,471 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,473 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,474 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,475 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,477 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,485 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,487 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,488 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,489 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,490 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,505 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,506 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,508 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,517 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,518 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,520 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,522 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,524 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,531 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,532 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,534 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,534 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,536 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,537 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,546 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,548 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,549 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,550 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,551 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,553 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,561 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,563 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,564 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,565 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,566 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,568 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,577 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,579 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,580 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,580 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,581 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,583 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,592 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,594 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,596 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,596 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,598 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,600 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,608 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,610 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,611 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,612 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,615 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,623 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,625 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,628 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,628 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,630 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,632 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,638 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,640 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,641 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,642 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,643 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,645 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,654 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,656 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,658 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,658 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,660 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,661 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,670 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,672 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,674 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,675 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,679 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,686 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,690 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,693 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,701 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,703 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,705 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,705 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,706 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,708 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,717 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,719 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,720 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,721 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,722 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,723 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,732 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,734 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,736 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,736 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,737 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,739 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,748 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,749 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,750 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,751 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,752 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,753 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,763 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,765 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,767 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,770 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,778 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,779 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,781 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,781 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,782 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,784 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,793 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,795 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,797 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,797 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,798 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,800 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,810 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,811 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,813 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,813 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,814 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,816 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,826 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,827 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,829 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,830 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,831 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,832 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,841 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,843 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,845 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,845 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,847 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,848 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,857 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,859 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,861 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,862 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,863 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,865 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,874 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,875 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,877 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,878 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,879 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,881 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,888 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,892 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,893 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,895 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,904 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,906 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,907 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,908 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,909 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,910 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,921 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,922 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,923 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,924 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,925 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,927 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,935 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,938 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,939 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,940 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,941 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,952 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,954 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,955 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,956 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,957 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,958 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,967 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,969 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,970 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,971 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,973 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,982 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,984 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,985 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,986 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:33,987 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:33,988 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:33,998 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,000 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,001 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,001 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,004 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,014 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,016 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,018 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,018 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,019 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,021 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,029 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,031 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,032 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,033 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,034 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,036 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,045 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,046 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,048 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,048 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,049 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,051 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,061 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,063 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,064 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,065 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,066 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,076 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,078 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,080 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,081 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,082 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,083 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,091 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,093 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,095 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,095 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,097 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,098 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,107 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,109 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,110 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,111 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,112 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,114 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,123 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,125 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,127 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,127 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,129 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,130 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,139 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,141 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,142 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,142 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,144 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,145 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,156 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,157 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,158 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,158 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,159 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,171 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,172 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,172 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,172 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,173 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,173 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,187 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,188 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,189 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,190 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,191 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,192 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,202 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,203 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,204 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,205 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,206 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,208 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,219 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,221 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,221 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,222 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,224 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,233 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,237 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,239 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,249 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,251 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,252 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,253 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,254 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,256 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,266 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,267 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,269 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,269 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,270 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,272 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,281 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,283 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,285 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,286 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,287 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,289 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,297 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,299 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,300 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,301 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,302 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,304 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,317 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,317 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,318 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,320 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,328 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,332 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,334 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,348 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,349 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,350 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,363 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,363 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,365 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,367 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,376 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,378 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,381 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,381 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,382 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,384 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,392 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,394 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,394 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,396 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,397 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,410 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,411 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,412 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,425 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,427 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,429 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,439 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,441 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,442 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,443 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,444 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,454 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,456 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,457 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,458 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,460 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,467 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,469 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,472 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,473 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,483 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,486 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,488 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,488 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,489 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,497 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,499 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,500 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,501 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,512 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,514 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,515 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,517 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,518 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,528 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,529 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,529 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,530 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,530 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,543 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,546 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,547 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,548 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,549 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,559 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,561 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,562 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,563 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,564 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,565 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,575 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,577 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,578 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,579 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,580 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,581 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,590 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,592 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,593 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,593 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,595 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,596 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,607 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,609 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,611 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,611 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,615 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,622 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,624 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,625 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,626 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,627 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,629 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,636 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,639 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,640 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,641 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,642 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,653 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,654 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,656 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,657 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,658 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,659 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,669 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,671 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,672 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,673 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,674 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,676 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,686 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,689 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,693 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,700 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,702 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,703 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,704 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,705 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,707 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,716 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,718 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,720 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,720 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,722 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,723 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,731 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,733 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,734 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,736 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,737 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,746 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,748 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,749 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,750 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,751 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,752 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,762 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,764 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,766 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,770 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,777 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,778 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,780 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,780 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,781 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,783 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,793 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,794 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,796 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,797 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,798 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,799 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,809 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,810 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,812 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,812 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,813 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,815 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,826 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,828 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,830 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,831 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,832 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,833 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,839 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,841 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,843 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,843 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,845 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,847 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,854 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,855 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,856 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,856 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,857 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,857 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,870 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,872 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,873 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,874 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,875 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,876 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,887 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,888 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,890 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,890 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,891 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,902 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,904 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,904 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,905 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,906 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,918 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,920 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,921 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,922 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,923 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,924 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,934 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,935 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,937 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,938 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,939 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,941 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,950 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,952 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,953 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,954 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,955 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,957 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,966 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,968 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,969 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,972 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,982 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,984 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,986 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,986 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,987 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:34,989 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:34,998 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:34,999 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,001 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,002 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,004 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,013 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,015 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,017 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,018 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,019 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,020 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,043 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,045 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,048 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,049 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,051 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,054 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,056 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,057 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,059 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,059 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,060 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,062 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,062 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,074 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,076 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,077 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,079 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,081 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,089 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,090 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,092 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,092 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,093 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,094 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,104 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,105 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,106 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,106 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,107 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,108 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,120 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,121 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,122 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,122 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,122 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,123 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,135 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,136 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,137 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,138 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,138 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,139 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,151 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,152 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,153 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,154 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,154 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,155 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,166 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,167 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,167 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,168 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,168 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,169 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,181 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,182 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,182 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,183 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,183 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,184 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,196 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,197 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,198 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,198 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,199 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,200 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,212 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,213 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,214 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,214 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,214 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,215 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,227 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,229 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,229 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,230 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,230 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,243 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,244 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,245 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,246 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,246 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,247 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,258 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,260 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,262 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,262 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,263 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,265 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,273 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,275 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,277 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,278 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,279 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,280 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,288 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,290 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,292 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,292 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,294 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,296 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,304 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,304 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,306 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,306 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,307 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,308 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,319 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,320 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,321 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,321 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,322 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,323 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,334 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,335 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,337 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,337 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,338 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,338 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,349 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,350 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,351 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,352 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,353 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,353 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,365 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,366 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,368 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,368 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,369 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,369 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,380 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,381 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,382 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,382 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,383 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,383 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,395 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,396 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,397 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,397 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,397 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,398 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,410 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,411 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,412 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,412 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,413 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,426 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,427 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,428 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,429 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,430 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,431 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,440 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,441 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,443 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,443 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,445 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,447 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,456 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,457 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,458 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,459 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,460 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,462 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,470 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,472 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,473 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,474 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,475 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,477 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,486 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,488 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,490 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,490 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,492 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,494 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,505 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,507 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,508 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,517 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,518 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,519 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,519 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,520 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,521 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,531 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,532 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,533 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,533 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,534 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,535 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,546 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,547 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,549 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,549 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,550 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,551 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,562 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,563 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,564 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,564 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,565 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,566 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,578 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,579 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,580 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,582 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,583 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,594 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,595 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,597 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,597 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,598 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,598 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,610 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,611 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,612 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,612 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,626 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,627 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,628 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,629 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,629 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,630 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,642 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,643 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,644 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,644 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,645 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,646 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,658 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,659 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,660 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,660 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,661 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,661 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,674 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,675 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,677 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,677 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,678 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,679 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,692 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,692 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,693 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,704 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,705 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,706 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,706 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,707 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,707 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,719 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,720 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,721 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,721 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,722 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,723 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,736 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,737 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,737 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,738 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,739 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,751 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,753 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,754 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,755 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,756 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,758 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,766 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,770 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,770 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,771 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,773 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,782 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,784 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,786 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,787 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,788 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,789 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,799 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,801 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,802 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,802 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,804 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,805 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,816 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,817 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,818 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,820 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,821 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,831 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,832 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,834 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,834 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,835 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,837 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,846 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,847 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,849 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,849 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,850 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,852 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,861 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,863 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,864 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,864 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,865 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,877 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,878 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,880 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,880 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,881 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,883 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,893 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,895 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,897 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,898 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,899 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,900 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,909 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,911 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,913 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,914 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,915 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,917 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,927 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,929 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,931 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,931 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,932 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,934 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,940 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,941 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,943 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,944 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,945 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,946 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,957 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,958 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,960 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,960 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,962 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,963 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,971 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,973 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,974 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,975 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,976 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,977 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,986 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,988 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,989 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:35,990 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:35,991 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:35,992 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,004 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,005 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,007 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,008 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,009 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,010 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,019 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,020 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,022 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,022 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,023 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,024 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,034 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,036 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,038 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,038 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,039 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,041 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,049 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,051 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,052 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,053 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,054 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,055 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,066 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,067 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,069 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,070 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,071 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,082 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,083 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,084 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,085 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,096 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,097 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,099 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,100 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,101 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,112 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,113 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,115 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,117 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,118 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,127 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,130 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,132 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,132 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,134 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,141 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,143 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,145 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,146 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,147 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,158 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,159 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,162 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,163 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,164 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,175 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,177 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,177 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,179 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,180 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,188 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,190 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,191 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,192 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,193 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,195 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,204 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,206 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,207 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,207 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,208 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,210 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,219 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,222 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,234 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,236 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,237 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,238 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,239 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,251 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,254 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,254 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,256 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,257 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,268 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,270 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,271 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,273 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,283 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,284 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,287 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,288 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,289 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,299 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,302 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,303 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,304 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,306 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,315 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,316 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,319 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,319 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,321 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,323 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,331 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,336 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,337 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,339 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,341 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,350 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,350 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,352 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,353 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,362 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,364 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,366 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,366 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,368 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,370 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,377 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,379 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,381 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,381 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,382 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,384 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,393 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,396 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,397 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,398 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,399 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,400 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,408 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,410 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,412 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,412 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,415 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,422 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,424 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,425 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,426 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,427 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,428 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,439 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,440 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,441 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,441 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,442 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,444 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,453 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,455 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,456 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,457 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,458 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,460 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,472 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,472 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,473 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,486 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,487 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,488 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,489 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,490 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,501 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,503 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,505 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,506 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,507 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,517 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,519 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,521 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,522 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,524 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,534 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,537 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,539 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,540 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,541 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,542 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,549 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,551 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,552 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,553 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,554 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,556 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,565 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,567 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,569 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,570 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,571 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,573 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,583 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,584 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,585 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,587 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,589 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,597 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,598 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,600 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,600 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,602 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,603 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,611 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,615 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,617 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,618 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,626 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,628 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,629 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,629 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,631 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,632 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,642 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,644 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,645 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,646 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,647 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,649 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,657 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,659 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,660 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,661 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,662 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,664 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,672 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,674 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,675 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,676 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,678 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,686 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,687 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,689 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,689 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,690 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,701 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,703 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,704 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,705 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,706 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,708 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,718 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,720 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,721 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,722 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,723 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,725 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,738 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,740 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,740 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,742 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,743 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,749 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,751 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,752 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,753 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,754 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,756 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,764 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,766 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,768 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,768 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,769 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,779 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,781 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,782 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,783 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,784 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,786 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,795 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,796 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,798 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,798 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,799 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,800 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,811 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,812 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,813 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,814 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,815 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,817 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,826 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,828 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,829 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,829 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,830 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,832 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,842 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,844 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,845 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,845 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,847 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,848 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,859 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,860 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,861 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,862 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,863 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,864 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,873 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,875 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,876 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,876 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,878 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,879 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,887 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,889 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,891 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,892 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,893 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,895 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,902 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,905 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,905 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,907 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,918 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,920 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,921 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,922 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,923 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,924 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,934 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,939 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,939 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,941 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,942 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,950 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,952 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,954 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,954 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,956 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,957 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,965 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,967 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,969 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,969 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,972 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,981 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,982 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,984 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,985 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,986 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,988 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:36,996 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:36,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:36,999 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,000 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,001 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,002 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,012 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,014 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,015 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,016 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,017 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,018 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,028 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,030 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,031 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,032 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,033 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,034 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,044 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,046 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,047 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,048 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,049 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,051 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,061 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,062 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,064 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,064 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,065 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,067 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,077 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,078 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,079 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,081 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,082 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,091 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,093 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,094 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,095 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,096 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,098 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,108 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,110 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,111 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,112 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,113 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,114 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,123 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,125 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,127 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,128 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,129 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,131 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,140 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,141 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,143 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,144 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,146 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,154 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,156 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,158 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,159 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,162 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,169 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,171 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,173 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,174 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,176 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,186 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,187 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,189 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,190 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,191 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,193 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,201 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,203 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,204 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,205 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,206 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,208 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,221 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,224 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,233 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,236 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,249 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,250 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,252 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,252 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,255 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,264 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,266 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,267 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,268 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,281 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,282 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,283 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,283 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,285 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,287 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,296 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,297 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,299 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,299 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,302 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,312 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,313 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,315 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,316 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,317 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,319 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,327 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,329 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,331 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,335 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,342 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,344 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,346 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,349 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,350 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,358 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,360 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,363 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,364 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,367 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,372 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,374 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,376 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,377 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,378 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,380 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,388 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,389 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,393 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,394 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,402 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,404 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,405 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,407 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,408 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,419 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,420 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,422 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,424 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,433 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,436 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,438 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,439 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,449 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,450 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,453 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,455 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,465 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,467 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,468 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,481 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,483 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,484 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,486 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,487 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,497 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,499 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,501 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,501 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,512 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,514 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,515 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,517 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,519 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,529 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,530 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,532 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,533 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,534 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,536 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,544 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,547 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,549 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,550 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,551 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,553 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,559 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,561 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,563 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,563 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,565 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,567 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,574 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,576 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,577 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,578 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,579 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,581 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,591 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,592 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,593 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,594 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,596 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,604 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,606 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,607 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,608 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,609 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,610 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,620 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,622 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,623 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,624 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,625 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,627 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,635 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,637 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,638 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,639 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,640 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,641 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,651 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,653 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,655 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,655 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,656 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,658 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,667 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,669 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,670 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,671 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,672 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,673 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,683 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,685 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,686 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,687 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,689 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,699 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,701 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,702 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,703 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,704 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,706 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,715 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,717 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,718 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,719 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,720 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,722 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,731 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,733 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,734 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,737 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,739 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,747 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,749 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,751 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,752 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,753 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,754 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,762 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,764 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,766 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,766 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,767 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,769 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,778 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,779 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,781 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,782 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,783 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,784 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,793 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,795 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,796 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,797 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,798 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,799 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,808 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,810 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,812 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,812 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,813 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,815 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,824 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,826 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,827 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,828 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,829 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,830 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,838 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,839 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,841 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,841 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,842 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,843 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,853 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,854 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,856 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,857 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,858 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,859 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,869 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,872 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,872 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,873 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,875 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,886 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,888 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,889 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,889 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,901 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,905 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,906 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,907 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,917 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,918 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,920 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,920 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,921 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,922 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,932 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,933 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,935 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,936 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,939 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,947 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,948 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,950 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,950 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,951 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,953 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,967 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,968 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,970 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,972 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,973 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,977 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,979 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,981 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,982 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,983 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,985 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,993 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,995 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:37,997 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:37,997 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:37,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,000 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,009 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,011 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,013 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,013 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,015 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,016 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,024 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,026 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,028 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,028 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,030 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,031 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,038 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,040 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,041 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,041 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,043 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,044 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,054 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,056 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,057 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,058 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,059 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,060 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,070 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,072 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,073 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,074 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,075 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,077 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,085 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,087 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,089 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,089 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,090 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,092 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,101 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,102 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,104 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,105 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,106 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,108 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,117 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,119 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,119 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,120 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,122 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,131 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,132 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,135 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,137 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,139 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,145 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,147 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,149 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,149 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,150 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,152 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,160 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,162 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,164 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,164 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,165 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,167 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,175 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,177 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,179 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,180 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,181 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,183 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,189 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,191 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,193 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,193 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,195 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,197 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,205 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,207 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,209 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,210 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,211 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,213 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,224 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,226 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,226 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,227 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,229 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,236 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,239 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,240 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,242 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,251 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,254 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,255 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,256 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,257 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,270 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,271 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,273 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,284 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,286 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,287 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,288 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,298 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,299 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,301 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,302 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,304 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,317 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,318 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,319 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,329 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,330 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,332 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,332 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,335 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,346 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,348 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,349 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,350 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,352 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,362 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,364 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,365 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,366 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,368 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,377 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,379 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,380 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,381 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,382 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,392 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,396 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,397 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,398 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,399 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,410 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,410 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,412 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,422 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,424 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,425 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,426 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,427 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,429 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,439 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,440 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,441 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,442 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,443 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,453 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,455 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,456 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,457 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,458 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,459 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,471 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,472 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,473 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,473 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,487 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,487 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,488 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,490 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,501 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,503 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,503 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,504 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,506 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,518 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,519 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,519 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,520 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,522 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,532 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,534 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,536 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,537 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,538 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,540 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,548 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,549 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,551 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,551 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,552 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,554 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,563 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,565 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,566 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,567 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,568 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,569 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,579 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,581 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,582 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,582 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,583 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,585 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,595 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,597 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,598 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,599 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,600 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,602 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,610 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,612 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,614 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,615 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,617 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,625 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,627 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,629 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,629 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,630 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,632 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,640 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,641 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,643 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,644 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,645 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,646 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,656 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,658 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,659 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,660 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,661 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,662 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,672 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,673 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,675 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,675 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,678 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,687 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,690 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,703 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,704 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,706 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,707 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,708 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,709 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,719 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,721 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,722 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,722 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,723 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,725 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,736 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,738 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,739 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,740 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,741 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,742 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,752 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,753 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,755 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,756 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,757 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,759 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,769 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,771 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,772 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,774 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,784 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,786 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,788 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,789 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,791 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,794 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,799 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,801 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,803 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,804 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,806 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,808 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,814 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,816 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,819 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,821 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,823 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,829 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,830 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,832 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,832 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,833 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,835 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,845 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,847 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,863 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,864 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,866 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,868 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,880 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,882 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,883 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,888 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,899 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,901 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,903 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 16:47:38,904 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 16:47:38,906 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 16:47:38,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 325, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 354, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 17:34:26,945  INFO ilens-edge_engine building publishers 
2021-12-28 17:34:27,153  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:34:28,114  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:34:28,296 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:28,415 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:28,543 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:28,677 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:28,800 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:28,931 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,055 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,174 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,293 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,403 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,503 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,657 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,752 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,847 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:29,954 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,061 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,157 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,262 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,358 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,455 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,560 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,664 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,761 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,865 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:30,959 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,054 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,169 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,267 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,365 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,470 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,568 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,670 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,775 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,873 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:31,970 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,074 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,179 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,277 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,377 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,475 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,594 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,688 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,787 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:32,928 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,042 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,153 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,278 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,385 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,510 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,649 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,768 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:33,882 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,031 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,143 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,259 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,376 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,505 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,624 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,748 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,867 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:34,984 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,104 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,230 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,347 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,482 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,609 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,723 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,843 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:34:35,959 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 382, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:17,369  INFO ilens-edge_engine building publishers 
2021-12-28 17:36:17,669  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:36:18,528  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:36:18,712 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:18,839 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:18,949 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,045 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,155 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,253 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,357 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,454 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,553 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,646 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,747 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,876 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:19,988 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,094 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,187 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,289 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,385 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,479 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,577 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,675 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,769 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,880 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:20,991 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,093 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,194 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,288 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,385 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,486 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,579 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,676 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,776 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,877 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:21,971 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,081 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,186 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,279 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,379 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,477 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,572 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,675 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,770 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:22,878 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,001 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,102 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,215 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,332 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,439 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,559 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,668 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,779 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:23,906 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,022 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,145 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,293 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,428 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,538 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,649 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,767 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:24,894 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,026 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,143 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,260 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,376 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,485 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,596 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,714 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,832 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:25,973 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:26,088 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'ct'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 346, in _predict
    objects,classes, frame = self.track_bags(self.ct1, dets, frame, class_list)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 109, in track_bags
    objects = self.ct.update(bags)
AttributeError: 'CementBagCounter' object has no attribute 'ct'
2021-12-28 17:36:43,549  INFO ilens-edge_engine building publishers 
2021-12-28 17:36:43,748  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:36:44,573  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:37:04,341  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:37:04,351  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:37:19,515  INFO ilens-edge_engine building publishers 
2021-12-28 17:37:19,736  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:37:20,607  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:37:25,706  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:37:25,710  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:37:36,120  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:37:36,125  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:06,445  INFO ilens-edge_engine building publishers 
2021-12-28 17:41:06,695  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:41:07,659  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:41:14,073  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:14,080  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:16,825  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:16,830  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:19,443  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:19,450  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:24,069  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:24,075  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:26,405  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:26,411  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:28,913  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:28,918  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:30,599  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:30,606  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:33,787  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:33,795  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:39,168  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:39,173  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:43,032  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:43,036  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:46,119  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:46,128  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:50,486  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:50,491  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:52,867  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:52,873  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:41:55,690  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:55,695  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:41:57,639  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:41:57,645  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:00,369  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:00,375  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:02,851  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:02,859  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:05,503  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:05,508  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:11,643  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:11,651  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:42:15,223  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:15,228  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:42:19,900  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:19,907  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:24,697  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:24,702  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:29,576  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:29,581  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:31,830  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:31,837  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:34,582  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:34,588  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:41,130  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:41,140  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:42:44,124  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:44,131  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:46,901  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:46,909  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:51,531  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:51,537  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:56,252  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:56,257  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:42:58,738  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:42:58,742  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:43:01,498  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:43:01,514  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:43:06,134  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:43:06,139  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:43:10,515  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:43:10,523  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:44:32,600  INFO ilens-edge_engine building publishers 
2021-12-28 17:44:32,797  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:44:33,675  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:44:37,990  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:44:37,995  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:44:40,759  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:44:40,764  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:44:42,999  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:44:43,007  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:45:25,904  INFO ilens-edge_engine building publishers 
2021-12-28 17:45:26,074  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:45:27,050  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:45:52,599  INFO ilens-edge_engine building publishers 
2021-12-28 17:45:52,865  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:45:53,756  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:47:53,415  INFO ilens-edge_engine building publishers 
2021-12-28 17:47:53,638  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:47:54,516  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:48:47,158  INFO ilens-edge_engine building publishers 
2021-12-28 17:48:47,329  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:48:48,297  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 17:51:18,882  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:51:18,888  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:51:20,911  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:51:20,918  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:51:25,660  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:51:25,665  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 17:51:28,333  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:51:28,339  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:51:31,025  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 17:51:31,030  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 17:57:39,260  INFO ilens-edge_engine building publishers 
2021-12-28 17:57:39,550  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 17:57:40,441  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:28:21,484  INFO ilens-edge_engine building publishers 
2021-12-28 18:28:21,639  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:28:22,508  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:29:50,473  INFO ilens-edge_engine building publishers 
2021-12-28 18:29:50,620  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:29:51,433  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:30:28,288 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-28 18:30:28,288 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-28 18:30:28,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,345 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,347 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,349 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,358 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,359 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,359 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,360 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,361 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,373 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,374 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,374 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,375 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,376 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,388 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,389 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,389 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,389 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,404 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,405 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,406 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,406 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,407 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,408 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,420 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,421 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,421 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,437 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,437 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,438 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,438 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,453 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,453 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,453 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,454 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,455 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,468 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,469 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,469 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,470 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,471 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,485 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,485 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,486 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,487 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,501 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,501 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,502 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,503 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,516 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,517 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,518 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,518 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,519 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,520 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,532 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,533 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,534 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,534 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,535 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,536 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,547 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,548 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,549 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,549 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,550 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,551 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,562 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,563 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,564 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,564 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,565 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,566 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,577 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,578 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,579 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,580 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,580 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,581 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,593 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,594 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,596 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,596 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,597 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,598 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,609 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,610 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,611 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,612 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,613 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,625 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,626 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,627 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,628 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,629 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,629 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,640 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,641 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,642 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,642 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,642 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,643 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,656 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,657 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,658 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,658 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,659 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,660 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,672 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,673 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,674 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,674 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,675 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,676 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,687 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,689 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,689 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,690 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,691 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,702 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,703 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,705 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,705 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,706 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,707 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,718 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,719 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,720 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,720 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,721 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,721 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,734 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,735 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,736 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,737 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,737 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,738 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,749 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,750 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,751 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,752 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,753 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,753 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,764 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,765 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,766 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,766 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,767 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,768 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,780 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,781 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,782 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,782 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,783 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,783 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,795 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,797 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,798 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,798 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,799 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,800 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,810 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,811 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,812 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,812 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,813 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,814 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,825 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,826 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,827 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,827 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,828 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,829 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,841 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,842 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,842 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,842 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,843 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,844 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,856 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,857 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,858 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,859 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,860 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,861 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,872 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,873 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,874 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,874 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,874 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,875 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,887 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,888 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,889 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,890 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,902 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,904 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,904 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,904 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,905 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,918 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,919 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,920 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,921 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,921 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,923 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,934 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,935 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,936 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,936 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,938 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,949 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,950 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,951 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,951 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,952 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,952 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,964 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,965 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,966 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,966 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,967 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,968 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,979 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,980 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,980 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,981 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,981 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,982 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,994 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,996 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,997 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:28,997 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:28,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:28,999 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,010 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,011 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,012 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,012 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,013 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,013 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,025 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,026 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,027 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,028 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,029 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,029 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,041 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,042 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,043 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,043 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,043 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,044 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,056 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,057 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,058 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,058 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,058 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,059 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,071 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,072 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,073 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,074 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,075 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,076 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,086 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,087 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,088 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,088 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,089 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,101 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,102 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,103 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,103 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,104 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,116 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,117 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,117 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,118 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,118 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,119 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,132 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,133 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,134 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,134 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,147 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,148 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,149 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,149 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,150 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,162 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,163 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,164 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,164 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,165 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,166 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,178 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,179 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,180 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,180 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,181 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,181 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,194 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,195 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,197 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,197 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,198 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,198 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,210 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,211 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,212 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,213 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,213 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,214 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,225 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,226 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,227 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,227 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,229 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,241 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,242 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,243 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,243 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,244 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,245 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,256 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,257 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,257 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,257 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,258 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,258 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,271 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,272 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,272 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,272 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,273 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,274 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,287 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,288 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,289 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,289 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,302 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,303 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,303 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,304 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,304 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,305 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,318 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,319 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,319 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,320 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,320 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,321 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,334 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,335 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,336 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,336 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,337 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,337 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,349 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,350 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,351 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,351 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,352 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,352 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,365 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,366 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,367 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,368 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,368 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,369 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,380 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,381 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,381 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,382 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,382 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,383 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,395 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,396 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,397 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,398 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,398 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,399 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,411 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,412 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,413 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,413 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,414 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,426 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,427 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,428 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,429 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,429 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,430 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,441 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,442 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,443 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,443 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,444 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,445 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,457 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,458 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,458 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,459 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,459 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,460 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,472 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,473 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,473 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,474 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,474 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,488 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,489 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,489 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,490 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,490 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,504 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,505 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,506 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,507 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,507 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,509 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,519 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,520 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,520 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,521 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,522 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,534 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,535 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,536 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,536 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,537 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,537 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,550 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,551 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,552 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,552 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,552 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,553 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,566 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,567 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,568 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,569 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,569 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,570 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,582 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,583 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,583 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,584 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,585 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,596 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,597 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,598 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,598 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,599 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,599 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,611 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,612 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,613 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,613 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,614 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,615 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,626 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,627 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,628 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,629 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,629 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,630 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,641 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,642 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,643 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,643 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,644 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,645 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,657 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,658 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,658 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,659 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,659 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,660 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,672 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,673 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,673 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,673 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,674 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,674 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,687 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,689 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,690 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,702 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,703 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,703 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,703 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,704 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,704 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,718 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,719 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,719 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,720 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,720 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,721 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,733 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,734 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,734 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,735 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,736 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,748 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,749 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,750 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,750 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,751 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,752 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,764 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,765 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,765 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,766 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,766 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,767 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,779 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,780 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,780 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,781 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,781 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,782 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,795 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,796 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,797 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,797 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,798 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,799 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,810 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,812 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,814 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,815 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,817 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,818 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,825 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,827 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,829 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,830 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,832 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,833 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,840 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,841 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,842 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,842 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,843 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,844 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,856 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,857 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,858 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,858 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,859 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,859 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,871 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,872 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,872 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,873 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,873 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,874 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,886 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,887 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,888 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,888 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,888 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,889 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,901 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,902 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,902 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,902 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,903 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,904 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,916 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,917 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,917 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,918 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,918 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,919 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,932 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,933 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,934 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,935 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,936 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,937 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,947 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,948 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,948 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,949 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,949 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,950 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,963 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,964 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,964 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,965 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,965 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,966 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,979 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,980 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,981 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,981 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,981 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,982 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,995 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,996 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:29,998 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:29,998 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:29,999 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,000 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,011 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,012 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,013 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,013 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,014 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,015 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,026 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,027 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,028 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,028 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,029 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,030 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,048 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,049 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,049 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,049 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,050 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,050 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,057 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,058 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,059 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,059 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,060 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,061 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,072 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,073 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,074 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,074 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,075 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,075 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,088 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,089 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,090 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,090 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,091 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,092 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,104 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,105 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,105 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,106 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,107 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,118 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,119 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,119 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,120 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,120 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,121 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,135 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,136 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,136 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,137 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,150 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,151 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,151 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,152 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,152 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,153 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,165 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,166 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,167 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,167 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,168 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,168 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,180 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,181 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,182 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,183 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,183 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,185 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,196 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,197 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,198 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,198 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,199 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,199 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,212 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,213 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,214 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,214 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,215 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,215 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,227 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,229 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,229 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,230 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,231 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,242 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,243 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,244 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,244 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,245 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,246 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,257 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,258 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,259 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,259 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,260 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,261 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,273 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,274 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,274 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,275 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,276 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,276 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,288 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,290 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,291 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,291 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,303 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,304 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,305 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,305 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,306 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,306 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,319 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,320 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,320 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,321 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,321 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,322 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,334 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,335 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,336 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,336 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,336 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,337 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,350 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,352 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,353 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,354 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,354 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,356 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,365 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,366 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,366 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,367 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,367 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,368 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,381 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,382 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,383 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,383 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,383 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,384 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,397 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,399 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,400 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,401 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,402 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,402 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,412 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,414 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,415 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,415 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,427 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,428 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,429 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,429 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,430 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,431 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,442 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,443 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,444 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,444 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,445 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,446 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,457 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,458 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,459 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,459 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,460 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,461 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,472 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,473 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,474 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,474 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,474 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,488 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,489 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,490 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,490 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,491 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,503 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,504 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,505 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,505 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,506 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,519 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,520 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,520 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,521 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,522 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,535 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,536 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,538 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,538 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,539 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,541 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,551 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,552 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,552 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,552 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,553 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,553 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,566 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,567 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,568 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,569 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,569 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,571 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,582 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,584 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,585 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,586 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,588 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,596 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,597 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,598 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,598 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,599 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,600 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,612 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,614 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,615 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,615 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,628 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,629 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,630 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,630 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,631 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,631 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,643 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,644 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,645 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,646 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,646 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,647 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,658 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,659 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,660 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,660 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,661 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,661 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,673 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,674 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,675 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,675 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,676 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,677 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,689 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,690 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,690 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,691 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,704 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,705 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,705 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,706 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,706 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,707 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,719 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,720 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,720 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,721 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,721 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,722 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,736 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,736 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,737 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,737 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,738 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,751 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,752 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,753 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,754 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,755 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,756 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,768 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,768 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,769 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,770 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,783 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,784 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,784 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,785 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,785 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,786 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,798 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,799 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,799 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,800 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,800 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,801 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,814 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,815 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,816 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,816 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,817 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,817 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,829 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,831 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,832 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,832 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,833 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,835 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,845 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,846 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,847 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,847 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,848 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,849 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,860 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,861 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,862 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,863 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,864 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,864 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,875 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,876 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,877 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,877 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,878 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,879 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,890 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,891 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,892 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,893 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,894 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,906 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,907 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,908 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,909 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,910 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,921 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,922 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,922 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,923 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,923 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,924 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,937 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,938 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,938 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,938 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,939 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,939 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,952 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,953 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,953 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,954 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,954 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,955 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,968 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,969 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,969 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,970 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,971 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,984 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,985 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,985 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:30,986 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:30,986 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:30,987 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,000 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,001 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,002 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,002 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,004 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,016 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,017 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,017 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,018 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,018 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,019 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,032 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,033 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,034 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,034 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,034 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,035 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,047 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,048 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,049 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,049 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,050 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,051 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,063 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,064 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,065 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,065 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,066 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,067 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,078 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,079 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,080 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,081 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,081 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,094 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,095 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,096 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,097 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,098 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,098 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,109 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,110 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,111 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,111 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,112 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,113 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,124 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,125 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,126 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,126 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,127 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,128 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,139 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,140 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,140 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,141 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,141 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,142 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,155 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,156 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,156 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,157 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,157 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,158 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,170 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,171 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,172 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,173 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,174 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,185 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,186 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,186 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,187 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,187 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,188 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,201 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,202 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,202 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,203 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,203 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,204 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,216 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,217 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,218 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,218 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,219 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,231 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,232 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,234 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,234 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,236 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,237 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,246 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,247 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,248 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,248 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,248 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,249 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,261 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,262 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,263 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,263 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,264 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,265 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,276 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,277 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,278 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,278 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,280 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,280 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,291 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,292 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,292 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,293 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,293 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,294 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,307 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,308 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,309 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,309 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,310 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,311 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,323 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,324 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,324 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,324 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,325 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,326 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,339 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,340 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,340 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,341 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,341 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,342 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,355 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,356 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,357 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,357 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,357 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,358 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,371 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,372 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,372 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,373 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,373 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,374 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,387 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,388 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,389 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,390 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,409 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,410 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,412 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,412 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,419 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,420 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,421 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,421 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,423 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,435 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,436 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,438 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,438 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,439 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,450 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,451 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,453 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,466 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,467 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,468 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,468 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,469 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,470 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,482 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,483 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,483 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,484 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,485 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,497 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,498 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,499 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,499 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,500 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,500 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,513 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,514 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,515 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,515 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,516 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,517 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,529 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,530 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,530 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,530 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,531 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,544 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,546 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,547 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,548 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,549 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,560 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,561 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,562 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,562 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,562 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,563 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,576 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,577 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,578 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,578 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,579 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,580 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,592 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,593 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,594 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,594 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,594 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,595 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,608 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,609 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,610 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,611 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,612 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,613 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,623 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,624 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,624 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,625 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,626 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,626 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,639 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,640 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,641 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,641 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,642 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,643 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,654 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,655 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,655 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,656 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,656 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,657 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,670 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,671 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,672 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,672 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,673 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,674 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,685 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,686 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,687 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,687 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,688 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,689 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,700 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,701 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,701 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,702 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,703 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,703 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,715 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,716 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,717 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,717 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,718 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,719 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,731 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,732 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,732 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,733 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,733 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,734 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,746 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,747 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,747 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,748 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,748 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,749 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,762 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,763 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,763 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,764 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,764 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,765 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,777 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,778 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,778 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,779 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,779 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,780 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,792 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,793 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,794 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,794 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,795 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,797 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,808 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,809 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,809 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,810 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,810 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,811 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,823 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,824 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,825 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,826 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,827 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,828 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,839 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,840 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,841 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,841 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,842 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,843 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,854 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,856 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,857 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,857 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,858 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,858 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,871 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,872 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,872 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,873 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,873 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,874 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,886 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,887 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,888 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,889 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,889 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,890 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,901 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,902 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,903 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,903 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,904 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,905 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,916 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,917 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,918 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,918 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,919 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,920 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,932 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,933 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,933 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,934 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,934 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,935 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,948 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,949 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,950 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,950 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,951 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,953 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,964 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,965 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,966 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,966 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,967 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,968 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,980 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,981 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,981 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,982 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,982 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,983 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,996 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,997 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,997 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:31,998 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:31,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:31,999 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,012 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,013 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,013 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,014 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,014 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,015 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,028 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,029 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,030 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,031 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,031 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,033 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,043 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,044 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,044 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,045 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,045 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,046 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,059 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,060 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,061 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,061 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,062 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,062 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,074 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,075 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,076 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,076 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,077 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,078 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,089 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,090 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,090 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,091 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,091 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,092 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,104 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,105 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,105 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,106 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,106 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,107 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,120 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,121 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,122 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,122 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,123 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,124 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,135 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,136 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,137 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,138 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,138 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,139 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,151 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,152 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,153 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,153 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,154 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,155 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,166 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,167 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,168 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,168 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,169 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,169 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,181 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,182 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,182 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,182 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,183 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,184 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,196 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,198 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,200 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,200 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,201 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,202 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,212 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,213 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,213 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,213 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,214 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,214 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,227 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,228 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,229 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,229 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,230 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,242 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,243 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,244 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,245 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,245 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,246 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,257 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,258 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,260 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,260 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,261 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,262 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,273 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,274 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,275 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,275 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,276 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,277 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,288 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,290 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,291 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,291 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,303 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,304 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,305 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,306 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,306 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,307 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,318 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,318 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,319 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,320 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,321 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,321 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,333 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,334 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,335 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,335 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,336 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,337 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,348 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,349 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,350 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,350 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,351 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,351 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,364 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,365 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,366 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,367 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,367 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,368 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,380 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,381 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,382 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,382 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,382 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,383 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,395 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,396 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,397 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,397 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,398 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,398 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,410 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,411 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,412 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,413 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,413 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,414 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,426 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,427 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,428 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,428 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,428 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,429 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,441 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,442 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,443 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,443 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,444 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,445 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,456 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,457 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,458 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,459 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,459 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,460 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,472 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,473 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,473 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,474 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,474 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,475 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,488 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,489 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,490 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,491 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,491 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,492 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,504 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,505 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,506 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,506 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,507 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,507 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,519 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,520 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,521 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,522 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,523 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,534 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,535 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,536 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,537 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,538 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,538 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,549 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,550 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,550 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,551 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,551 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,552 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,565 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,566 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,567 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,567 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,568 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,569 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,582 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,583 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,583 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,584 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,585 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,597 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,598 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,599 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,599 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,599 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,600 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,613 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,614 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,615 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,615 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,616 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,629 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,630 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,631 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,631 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,632 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,633 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,644 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,645 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,645 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,646 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,646 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,647 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,659 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,660 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,661 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,661 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,662 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,662 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,675 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,676 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,677 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,677 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,678 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,692 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,693 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,693 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,705 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,706 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,707 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,707 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,708 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,709 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,720 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,722 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,722 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,726 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,727 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,728 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,735 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,736 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,737 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,737 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,738 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,739 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,751 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,752 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,753 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,754 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,755 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,755 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,769 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,769 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,770 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,782 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,783 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,784 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,784 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,785 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,786 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,797 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,798 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,798 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,798 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,799 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,799 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,812 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,813 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,813 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,813 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,814 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,815 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,828 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,829 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,830 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,831 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,832 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,833 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,843 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,844 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,844 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,845 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,845 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,846 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,859 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,860 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,860 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,861 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,861 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,862 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,875 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,876 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,877 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,877 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,878 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,879 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,890 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,891 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,892 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,892 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,893 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,906 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,907 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,908 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,908 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,909 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,921 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,922 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,922 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,923 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,924 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,924 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,936 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,938 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,939 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,939 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,940 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,951 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,952 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,953 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,953 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,954 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,955 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,967 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,968 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,969 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,970 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,971 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,984 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,984 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,986 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,986 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:32,987 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:32,988 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:32,999 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,000 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,001 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,002 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,004 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,014 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,015 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,016 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,016 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,017 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,017 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,030 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,031 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,031 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,032 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,032 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,033 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,045 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,046 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,046 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,047 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,047 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,048 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,060 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,061 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,061 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,061 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,062 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,062 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,076 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,077 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,077 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,078 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,078 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,079 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,091 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,092 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,093 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,093 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,094 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,095 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,106 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,107 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,108 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,108 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,109 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,110 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,122 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,123 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,123 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,124 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,124 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,125 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,138 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,139 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,140 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,140 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,140 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,141 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,153 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,154 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,155 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,156 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,157 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,158 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,168 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,169 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,170 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,171 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,172 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,172 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,184 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,185 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,186 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,187 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,188 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,189 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,200 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,201 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,202 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,203 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,203 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,204 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,216 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,217 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,217 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,218 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,219 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,232 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,233 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,234 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,234 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,235 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,248 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,249 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,249 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,250 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,250 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,251 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,264 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,265 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,266 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,267 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,268 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,280 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,281 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,282 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,282 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,283 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,283 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,296 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,297 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,298 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,299 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,301 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,312 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,313 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,314 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,314 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,315 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,328 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,329 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,330 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,330 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,331 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,343 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,344 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,345 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,345 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,347 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,358 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,359 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,360 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,373 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,374 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,375 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,376 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,388 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,389 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,389 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,390 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,403 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,404 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,405 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,405 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,406 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,407 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,418 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,419 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,420 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,420 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,421 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,433 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,434 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,435 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,435 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,436 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,448 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,449 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,451 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,451 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,454 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,463 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,464 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,464 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,464 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,465 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,466 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,479 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,479 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,480 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,481 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,481 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,494 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,495 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,496 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,496 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,497 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,497 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,509 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,510 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,511 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,511 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,512 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,513 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,524 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,525 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,526 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,526 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,527 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,528 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,539 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,540 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,540 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,541 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,541 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,542 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,555 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,556 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,557 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,557 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,558 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,559 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,571 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,572 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,573 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,573 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,574 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,575 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,587 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,588 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,589 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,589 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,590 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,603 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,604 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,605 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,605 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,606 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,606 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,619 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,620 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,621 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,622 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,622 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,623 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,635 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,636 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,637 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,637 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,639 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,650 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,651 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,651 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,652 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,652 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,653 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,666 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,667 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,667 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,668 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,668 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,669 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,681 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,682 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,683 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,684 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,684 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,686 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,696 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,697 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,699 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,699 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,700 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,701 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,712 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,713 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,714 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,714 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,714 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,715 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,727 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,728 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,729 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,729 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,730 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,731 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,742 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,743 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,744 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,745 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,746 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,747 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,758 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,759 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,760 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,760 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,762 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,773 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,774 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,774 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,775 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,775 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,776 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,789 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,790 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,791 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,791 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,792 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,792 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,804 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,805 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,806 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,806 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,807 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,820 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,821 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,822 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,822 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,823 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,834 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,835 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,836 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,837 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,838 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,850 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,851 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,851 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,852 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,852 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,853 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,865 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,866 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,867 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,867 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,868 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,882 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,883 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,883 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,884 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,896 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,897 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,898 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,898 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,898 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,899 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,912 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,913 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,913 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,914 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,914 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,915 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,927 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,928 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,928 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,929 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,929 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,930 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,942 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,943 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,944 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,944 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,945 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,946 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,958 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,959 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,960 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,961 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,962 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,962 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,973 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,974 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,974 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,975 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,975 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,976 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,989 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,990 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,991 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:33,991 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:33,992 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:33,992 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,004 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,005 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,006 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,006 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,007 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,007 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,019 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,020 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,021 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,021 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,022 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,022 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,034 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,035 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,037 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,037 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,038 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,038 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,050 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,051 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,051 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,052 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,052 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,053 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,065 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,066 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,068 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,069 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,070 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,081 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,082 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,083 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,083 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,084 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,084 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,097 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,098 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,099 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,099 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,100 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,101 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,112 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,113 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,114 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,114 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,114 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,115 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,127 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,128 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,129 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,129 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,130 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,131 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,148 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,149 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,159 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,159 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,161 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,162 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,172 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,174 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:30:34,174 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-28 18:30:34,175 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-28 18:30:34,176 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 328, in _predict
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 357, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-28 18:31:32,867  INFO ilens-edge_engine building publishers 
2021-12-28 18:31:33,021  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:31:33,859  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:34:23,481  INFO ilens-edge_engine building publishers 
2021-12-28 18:34:23,631  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:34:24,479  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:34:26,727  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:34:26,732  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:39:52,278  INFO ilens-edge_engine building publishers 
2021-12-28 18:39:52,435  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:39:53,288  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:40:21,218  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:40:21,224  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:40:23,874  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:40:23,881  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:44:34,526  INFO ilens-edge_engine building publishers 
2021-12-28 18:44:34,677  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:44:35,507  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:44:39,349  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:44:39,354  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:44:42,397  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:44:42,404  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:44:46,806  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:44:46,812  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:44:49,182  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:44:49,189  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:44:51,547  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:44:51,562  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:47:44,844  INFO ilens-edge_engine building publishers 
2021-12-28 18:47:44,991  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:47:45,812  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:47:50,081  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:47:50,094  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:47:55,183  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:47:55,194  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:49:26,416  INFO ilens-edge_engine building publishers 
2021-12-28 18:49:26,567  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:49:27,418  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:49:30,556  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:30,564  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:49:33,654  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:33,663  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:49:35,473  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:35,480  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:49:38,654  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:38,666  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:49:45,027  INFO ilens-edge_engine building publishers 
2021-12-28 18:49:45,177  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:49:46,047  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:49:47,814  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:47,819  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:49:50,346  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:50,351  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:49:52,157  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:52,165  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:49:54,409  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:54,414  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:49:59,918  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:49:59,924  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:50:04,264  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:04,270  INFO ilens-edge_engine Count: 0, Print Found: False
2021-12-28 18:50:07,374  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:07,382  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:50:13,276  INFO ilens-edge_engine building publishers 
2021-12-28 18:50:13,428  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 18:50:14,231  INFO ilens-edge_engine Setting up frame processor !!
2021-12-28 18:50:16,103  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:16,108  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:50:18,433  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:18,438  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:50:20,634  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:20,639  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:50:23,205  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:23,219  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:50:32,607  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:50:32,614  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 18:51:01,515  INFO ilens-edge_engine Pushing to Mongo..
2021-12-28 18:51:01,521  INFO ilens-edge_engine Count: 0, Print Found: True
2021-12-28 19:21:45,985  INFO ilens-edge_engine building publishers 
2021-12-28 19:21:46,150  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-28 19:21:46,976  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:32:31,987  INFO ilens-edge_engine building publishers 
2021-12-29 10:32:32,786  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:32:47,455  INFO ilens-edge_engine building publishers 
2021-12-29 10:32:47,644  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:37:22,032  INFO ilens-edge_engine building publishers 
2021-12-29 10:37:22,190  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:37:23,216  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:37:23,444 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:23,568 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:23,688 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:23,836 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:23,954 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,079 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,186 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,298 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,401 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,519 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,616 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,730 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,832 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:24,945 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,052 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,167 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,272 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,390 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,494 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,614 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,718 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,825 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:25,927 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,045 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,151 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,269 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,390 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,497 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,600 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,715 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:26,815 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:26,929 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:27,027 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:27,140 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:27,263 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:27,385 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:27,522 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:27,646 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:27,772 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:27,890 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:28,017 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:28,131 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:28,264 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:28,399 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:28,529 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:28,692 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:28,816 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:28,930 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:29,066 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:29,183 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:29,318 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:29,466 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:29,590 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:29,711 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:29,837 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:29,952 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,083 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,193 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,324 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,446 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,581 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,708 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,828 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:30,945 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,080 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,200 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,322 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,440 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,575 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,710 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:31,833 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:31,964 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:32,091 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:32,218 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:32,348 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:32,466 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:32,595 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:32,723 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:32,856 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:32,978 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:33,106 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:33,228 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:33,355 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:33,486 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:33,636 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:33,757 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:33,903 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:34,031 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:34,148 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:34,277 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:34,411 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:34,530 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:34,658 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:34,777 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:34,917 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:35,041 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:35,168 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:35,292 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:35,432 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:35,558 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:35,683 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:35,811 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:35,939 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:36,068 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:36,194 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:36,308 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:36,437 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:36,551 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:36,677 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:36,802 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:36,927 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,071 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,211 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,337 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,492 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 504, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:37:37,621 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,739 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,865 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:37,994 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:38,123 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:37:38,270 ERROR ilens-edge_engine Error: 'CementBagCounter' object has no attribute 'tracker_list'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 501, in _predict
    frame, objects, boxs = self.kalman_tracker(dets, frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 122, in kalman_tracker
    if len(self.tracker_list) > 0:
AttributeError: 'CementBagCounter' object has no attribute 'tracker_list'
2021-12-29 10:39:28,549  INFO ilens-edge_engine building publishers 
2021-12-29 10:39:28,714  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:39:29,603  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:39:29,777 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:29,922 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:30,068 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:30,227 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:30,359 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:30,485 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:30,606 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:30,725 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:30,869 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:31,007 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:31,111 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:31,235 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:31,342 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:31,453 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:31,552 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:31,665 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:31,759 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:31,873 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:31,973 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,079 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:32,190 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,306 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,411 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,534 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,636 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,762 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:32,862 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:32,975 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:33,088 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:33,205 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:39:33,345 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:39:33,476 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 509, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 344, in update_bag_count
    for class_name, (objectID, centroid) in zip(classes, detection_objects.items()):
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:14,151  INFO ilens-edge_engine building publishers 
2021-12-29 10:44:14,383  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:44:15,289  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:44:15,473 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:15,597 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:15,849 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,004 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,147 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:16,280 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,408 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,537 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,666 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,797 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:16,927 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:17,049 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,174 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,304 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,413 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,528 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,633 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,749 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,845 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:17,959 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:18,067 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:44:18,190 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:18,337 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:44:18,464 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 514, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:45:59,876  INFO ilens-edge_engine building publishers 
2021-12-29 10:46:00,088  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:46:00,979  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:46:01,247 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:01,395 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:01,541 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:01,679 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:01,814 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:01,941 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:02,048 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:02,160 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:02,285 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:02,418 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:02,536 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:02,662 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:02,789 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:02,925 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:03,062 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:03,175 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:03,291 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:46:03,436 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:03,540 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:03,649 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:03,754 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:03,879 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:03,997 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,113 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,212 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,329 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,438 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,556 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,661 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,765 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,869 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:04,972 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,073 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,181 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,282 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,382 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,492 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,603 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,704 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,829 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:05,944 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:06,056 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:06,199 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:06,312 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:06,442 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:06,565 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:06,688 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:06,813 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:46:06,939 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,062 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,193 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,324 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,447 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,592 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,726 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:07,876 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:08,016 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:46:08,137 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 348, in update_bag_count
    if self.validate_point_position(centroid['centroid']):
TypeError: list indices must be integers or slices, not str
2021-12-29 10:47:19,089  INFO ilens-edge_engine building publishers 
2021-12-29 10:47:19,217  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:47:20,094  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:47:20,298 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:20,421 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:20,548 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:20,807 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:20,972 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:21,139 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:21,350 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:21,506 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:21,630 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:21,745 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:21,846 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:21,960 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:22,088 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:22,214 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:22,340 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:22,451 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:22,576 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:22,686 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:22,812 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:22,921 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,039 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,150 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,268 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,375 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,495 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,605 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:23,722 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:47:24,574 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:24,690 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:24,796 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:24,913 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,025 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,141 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,257 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,377 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,485 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,601 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,711 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,836 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:25,946 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:26,068 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:26,179 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:26,305 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:26,412 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:26,547 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:26,674 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:26,800 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:26,912 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:27,020 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:27,130 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:27,262 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:27,412 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:27,533 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:27,639 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:27,761 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:27,874 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:27,996 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:28,093 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:28,219 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:28,322 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:47:28,453 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:28,590 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:28,720 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:47:28,858 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 515, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:13,952  INFO ilens-edge_engine building publishers 
2021-12-29 10:49:14,092  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:49:15,035  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:49:15,226 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:15,348 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:15,463 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:15,707 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:15,862 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,006 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,123 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,237 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,369 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,482 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,606 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,708 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:16,848 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:16,957 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,073 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,196 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,303 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,421 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,533 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,658 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,773 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:17,887 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,001 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:49:18,120 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,231 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,345 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,459 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,580 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,692 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,826 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:18,983 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,142 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,277 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,392 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:19,525 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,651 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,767 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,876 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:19,988 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:20,115 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:20,252 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:20,401 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:20,547 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:20,692 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:20,837 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:20,960 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,076 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,219 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,350 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,471 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,608 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,729 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,859 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:49:21,992 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:22,126 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:49:22,303 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 10:56:38,678  INFO ilens-edge_engine building publishers 
2021-12-29 10:56:38,886  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:56:39,869  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:56:40,054 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:56:40,181 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:56:40,296 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:56:40,481 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:56:40,610 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:56:40,871 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:41,013 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:41,157 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:41,345 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:41,535 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:41,658 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:56:41,767 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:56:41,883 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:56:41,999 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:42,141 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:42,266 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:42,386 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:42,496 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:42,619 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 522, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 10:56:42,723 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:56:42,847 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:05,345  INFO ilens-edge_engine building publishers 
2021-12-29 10:57:05,534  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:57:06,726  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:57:06,951 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:07,325 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:07,471 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:08,229 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:57:08,348 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:57:08,472 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:57:08,612 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:57:09,439 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:09,550 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:09,646 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:09,759 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:09,859 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:09,956 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:10,306 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:10,407 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:10,513 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:10,615 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:10,834 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:12,042 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:13,184 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:57:13,314 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:57:14,156 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:14,266 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:14,384 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:57:14,527 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:19,327  INFO ilens-edge_engine building publishers 
2021-12-29 10:58:19,477  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 10:58:20,350  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 10:58:20,652 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:20,901 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:21,553 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:21,778 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:21,980 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:22,181 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:22,377 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:23,624 ERROR ilens-edge_engine Error: list indices must be integers or slices, not str
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 372, in update_bag_count
    self.initial_object_position = self.line_point_position(point=centroid['centroid'])
TypeError: list indices must be integers or slices, not str
2021-12-29 10:58:24,465 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:24,665 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:25,487 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:25,705 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 10:58:26,906 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 518, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:00,816  INFO ilens-edge_engine building publishers 
2021-12-29 11:01:00,954  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:01:01,907  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:01:02,172 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:02,367 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:02,561 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:02,762 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:02,962 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:03,202 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:03,408 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:03,617 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:03,835 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:04,053 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:04,263 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:04,475 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:04,709 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:04,963 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:05,193 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:05,394 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:05,590 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:05,794 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:06,004 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:06,205 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:06,408 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:06,606 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:06,805 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:07,024 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:07,243 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:07,514 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:07,737 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:07,968 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:08,197 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:08,430 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:08,655 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:08,888 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:09,121 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:09,367 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:09,611 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:09,847 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:10,069 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:10,301 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:10,530 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:10,781 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:11,026 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:11,260 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:11,503 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:11,755 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:11,984 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:12,214 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:12,443 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:12,707 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:12,948 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:13,192 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:01:13,447 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:12,563  INFO ilens-edge_engine building publishers 
2021-12-29 11:02:12,711  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:02:13,550  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:02:13,845 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:14,053 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:14,276 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:14,505 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:14,731 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:14,960 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:15,191 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:15,396 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:15,622 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:15,841 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:16,042 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:16,316 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:16,518 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:16,744 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:16,979 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:17,221 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:17,443 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:17,664 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:17,888 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:02:18,130 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 520, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:17,990  INFO ilens-edge_engine building publishers 
2021-12-29 11:03:18,120  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:03:18,986  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:03:19,172 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:19,300 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:19,438 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:19,577 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:19,699 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:19,814 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:19,945 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,061 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,180 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,306 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,427 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,557 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,673 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,788 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:20,909 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,023 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,133 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,231 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,387 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,484 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,610 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,730 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,851 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:21,987 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,108 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,236 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,356 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,474 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,603 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,722 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,830 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:22,955 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:23,078 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:23,209 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:23,326 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:23,449 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 513, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:43,704  INFO ilens-edge_engine building publishers 
2021-12-29 11:03:43,841  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:03:44,702  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:03:44,880 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,005 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,111 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,219 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,331 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,444 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,547 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,648 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,765 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:45,870 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:46,079 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:46,222 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:46,346 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:46,609 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:46,749 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:46,890 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,010 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,132 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,239 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,362 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,470 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,591 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,702 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,813 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:47,922 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,048 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,161 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,278 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,405 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,526 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:48,645 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,775 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:48,884 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,012 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,127 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,250 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,365 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,478 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,592 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,707 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,833 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:49,980 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:50,099 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,218 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,331 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,453 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,564 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,687 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,805 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:50,923 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,046 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,165 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,282 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,405 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,524 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,646 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,761 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:51,889 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,013 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,129 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,246 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,367 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,484 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,611 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:03:52,738 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:52,887 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:53,024 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:53,150 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:53,275 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:53,415 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:03:53,575 ERROR ilens-edge_engine Error: name '_' is not defined
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 516, in _predict
    print(_)
NameError: name '_' is not defined
2021-12-29 11:04:38,340  INFO ilens-edge_engine building publishers 
2021-12-29 11:04:38,564  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:04:39,453  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:04:39,650 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:39,911 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,075 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,229 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,363 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,493 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,645 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,776 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:40,917 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:41,070 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:41,186 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:41,297 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:41,412 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:41,544 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:41,675 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:41,793 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:41,914 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,035 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,150 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,266 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,386 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,508 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,647 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,772 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:42,905 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:43,023 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:43,149 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:43,263 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:43,383 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:43,487 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:43,597 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:43,695 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:43,807 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:43,919 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:44,019 ERROR ilens-edge_engine Error: local variable 'objects' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 511, in _predict
    frame = self.update_bag_count(frame=frame, detection_objects=objects, classes = class_name, detections = _dets)
UnboundLocalError: local variable 'objects' referenced before assignment
2021-12-29 11:04:44,138 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:44,250 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:44,358 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:04:44,483 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:43,569  INFO ilens-edge_engine building publishers 
2021-12-29 11:05:43,777  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:05:44,689  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:05:44,966 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,109 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,250 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,386 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,510 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,645 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,784 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:45,914 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,048 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,173 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,284 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,401 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,519 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,658 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,767 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,880 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:46,989 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,100 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,204 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,321 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,427 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,542 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,652 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,767 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:47,873 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,003 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,120 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,235 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,343 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,464 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,570 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,716 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,852 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:48,986 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,123 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,234 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,359 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,476 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,591 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,701 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,817 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:49,930 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:50,659 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:50,785 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:50,900 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,026 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,152 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,289 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,424 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,569 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,698 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,827 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:51,952 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,087 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,229 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,360 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,495 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,621 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,758 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:52,888 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:53,019 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:53,159 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:53,313 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:53,452 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:53,593 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:05:53,754 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 517, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:18,488  INFO ilens-edge_engine building publishers 
2021-12-29 11:11:18,657  INFO ilens-edge_engine Selected input stream as Direct cv input
2021-12-29 11:11:19,547  INFO ilens-edge_engine Setting up frame processor !!
2021-12-29 11:11:19,844 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,021 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,191 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,333 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,478 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,604 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,732 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,858 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:20,986 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,132 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,254 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,392 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,508 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,636 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,750 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,865 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:21,985 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,115 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,238 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,400 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,535 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,639 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,761 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:22,889 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,009 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,126 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,240 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,366 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,481 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,630 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,760 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:23,883 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,040 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,185 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,326 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,453 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,571 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,691 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,818 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:24,929 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:25,513 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:25,625 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:25,736 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:25,865 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:25,970 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,096 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,221 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,362 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,502 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,625 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,752 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:26,898 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,023 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,149 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,276 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,415 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,555 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,671 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,803 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:27,948 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,082 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,210 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,337 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,472 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,644 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,773 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:28,901 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,042 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,173 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,311 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,445 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,572 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,701 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,840 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:29,968 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,111 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,249 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,371 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,497 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,634 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,758 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:30,895 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,021 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,161 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,321 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,461 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,593 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,728 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,858 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:31,993 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,121 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,257 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,411 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,538 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,670 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,805 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:32,931 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,058 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,195 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,329 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,466 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,602 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,721 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,862 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:33,991 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,116 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,240 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,374 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,508 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,644 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,772 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:34,907 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,037 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,161 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,285 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,415 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,546 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,680 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,811 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:35,941 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,069 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,196 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,324 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,475 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,609 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,750 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:36,882 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,002 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,159 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,292 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,412 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,552 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,679 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,817 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:37,952 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,076 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,205 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,338 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,476 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,608 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,730 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:38,871 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,004 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,129 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,264 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,395 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,522 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,659 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,787 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:39,920 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,052 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,176 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,295 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,424 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,559 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,683 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,801 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:40,926 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:41,042 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:41,164 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:41,292 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:41,413 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,156 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,390 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,504 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,621 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,741 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,850 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:44,971 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,079 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,200 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,307 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,439 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,555 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,674 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,790 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:45,908 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,018 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,135 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,247 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,359 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,474 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,617 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,736 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,868 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:46,991 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,128 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,261 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,388 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,520 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,665 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,793 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:47,926 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,058 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,182 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,328 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,455 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,594 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,736 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,876 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:48,997 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,134 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,259 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,387 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,518 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,650 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,798 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:49,945 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,086 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,219 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,352 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,489 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,648 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,788 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:50,921 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,058 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,188 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,323 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,457 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,608 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,742 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:51,887 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,030 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,158 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,296 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,443 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,581 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,711 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,850 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:52,969 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,110 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,245 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,369 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,492 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,630 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,760 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:53,897 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,027 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,166 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,299 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,421 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,547 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,683 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,810 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:54,937 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,067 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,189 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,338 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,463 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,581 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,716 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,842 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:55,985 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:56,149 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:56,288 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:56,448 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:56,624 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:56,764 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:56,890 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,027 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,157 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,282 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,412 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,538 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,674 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,804 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:57,933 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,063 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,187 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,310 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,451 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,588 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,719 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,852 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:58,989 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,114 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,247 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,373 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,503 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,633 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,763 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:11:59,895 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,040 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,184 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,340 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,487 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,637 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,802 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:00,921 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,035 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,169 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,301 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,422 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,550 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,681 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,829 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:01,959 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,091 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,227 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,354 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,484 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,616 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,746 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:02,877 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,019 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,140 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,275 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,402 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,541 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,677 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,809 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:03,943 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,084 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,209 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,351 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,499 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,634 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,760 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:04,900 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,030 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,172 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,303 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,434 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,561 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,693 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,824 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:05,965 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,095 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,231 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,369 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,496 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,634 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,766 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:06,908 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,035 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,155 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,288 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,426 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,557 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,686 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,829 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:07,955 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,082 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,212 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,350 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,487 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,620 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,749 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:08,885 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,022 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,153 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,288 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,416 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,546 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,684 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,813 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:09,947 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,074 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,207 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,337 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,470 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,611 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,751 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:10,886 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,017 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,144 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,279 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,404 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,539 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,697 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,821 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:11,949 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,085 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,209 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,358 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,493 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,621 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,756 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:12,894 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,016 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,146 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,270 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,404 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,527 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,654 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,788 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:13,921 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,054 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,179 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,308 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,451 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,581 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,718 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,849 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:14,992 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,132 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,262 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,396 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,522 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,649 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,785 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:15,913 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,053 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,191 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,342 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,478 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,615 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,748 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:16,882 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,021 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,155 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,286 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,420 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,543 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,678 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,803 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:17,936 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,062 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,193 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,326 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,466 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,580 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,722 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,858 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:18,988 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,119 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,259 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,387 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,524 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,662 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,798 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:19,934 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,050 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,178 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,313 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,442 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,585 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,720 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,848 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:20,978 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,109 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,233 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,370 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,504 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,635 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,764 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:21,891 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,016 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,140 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,260 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,395 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,530 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,667 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,799 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:22,928 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,062 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,196 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,323 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,466 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,598 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,729 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,858 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:23,983 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,108 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,246 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,379 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,507 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,647 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,781 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:24,914 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,046 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,170 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,304 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,438 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,565 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,714 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,726 ERROR ilens-edge_engine Empty Frame !!!! 
2021-12-29 11:12:25,726 ERROR ilens-edge_engine Error opening Capture !!!! 
2021-12-29 11:12:25,840 ERROR ilens-edge_engine Error: 'list' object has no attribute 'items'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 519, in _predict
    self.distances(objects, _)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 465, in distances
    for key1, val1 in objs1.items():
AttributeError: 'list' object has no attribute 'items'
2021-12-29 11:12:25,843 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,866 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,881 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,882 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,896 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,897 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,898 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,898 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,898 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,899 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,912 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,913 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,913 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,914 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,914 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,915 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,928 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,929 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,930 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,931 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,932 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,933 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,944 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,946 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,947 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,947 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,947 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,948 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,960 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,961 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,962 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,962 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,963 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,963 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,976 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,977 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,978 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,978 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,979 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,980 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,992 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,993 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,994 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:25,994 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:25,995 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:25,995 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,007 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,008 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,009 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,009 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,010 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,011 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,022 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,023 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,024 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,024 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,025 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,026 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,038 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,039 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,039 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,040 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,040 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,041 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,054 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,055 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,056 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,056 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,057 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,058 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,069 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,070 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,071 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,071 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,072 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,072 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,085 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,086 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,087 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,088 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,088 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,101 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,102 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,103 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,104 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,117 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,119 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,121 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,122 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,123 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,124 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,136 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,138 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,139 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,141 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,143 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,144 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,146 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,149 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,151 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,153 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,161 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,162 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,165 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,165 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,167 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,168 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,169 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,170 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,171 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,172 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,172 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,174 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,182 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,184 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,185 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,185 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,186 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,187 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,197 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,199 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,200 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,201 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,202 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,203 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,212 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,213 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,214 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,215 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,215 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,217 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,227 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,229 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,230 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,231 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,233 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,242 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,243 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,243 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,244 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,244 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,245 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,258 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,259 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,260 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,261 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,261 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,262 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,273 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,274 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,274 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,275 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,275 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,276 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,288 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,289 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,290 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,290 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,291 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,291 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,304 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,305 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,306 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,306 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,306 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,307 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,320 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,321 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,322 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,322 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,323 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,323 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,336 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,337 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,338 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,339 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,340 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,340 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,352 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,353 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,354 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,354 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,355 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,356 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,367 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,368 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,369 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,370 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,371 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,372 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,383 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,384 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,386 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,386 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,386 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,387 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,398 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,399 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,400 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,400 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,401 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,402 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,413 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,414 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,415 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,416 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,416 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,417 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,429 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,431 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,432 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,433 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,434 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,434 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,444 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,445 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,446 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,446 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,447 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,448 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,459 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,460 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,461 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,461 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,461 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,462 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,475 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,476 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,476 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,477 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,477 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,478 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,490 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,491 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,491 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,492 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,492 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,493 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,505 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,506 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,507 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,508 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,508 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,509 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,520 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,521 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,522 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,522 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,523 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,524 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,536 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,537 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,537 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,538 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,538 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,539 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,552 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,552 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,553 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,553 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,554 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,555 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,566 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,567 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,568 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,569 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,569 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,570 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,581 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,583 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,584 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,584 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,584 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,585 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,597 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,598 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,600 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,600 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,601 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,603 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,612 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,613 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,614 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,614 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,615 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,616 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,627 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,628 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,629 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,630 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,631 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,631 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,643 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,644 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,645 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,645 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,646 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,647 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,659 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,660 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,660 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,661 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,661 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,661 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,675 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,676 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,676 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,676 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,677 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,690 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,691 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,691 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,691 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,692 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,692 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,705 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,706 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,708 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,709 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,710 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,711 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,721 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,723 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,724 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,725 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,726 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,727 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,736 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,738 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,740 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,741 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,742 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,743 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,751 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,753 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,754 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,755 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,757 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,758 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,769 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,769 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,770 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,771 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,782 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,783 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,783 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,784 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,785 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,786 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,798 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,799 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,801 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,801 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,803 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,805 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,813 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,815 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,817 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,817 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,818 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,819 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,828 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,829 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,831 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,832 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,833 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,834 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,843 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,844 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,845 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,845 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,845 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,846 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,859 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,860 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,861 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,861 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,861 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,862 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,874 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,875 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,875 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,876 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,876 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,877 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,889 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,891 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,891 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,891 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,904 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,905 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,905 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,905 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,906 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,906 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,920 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,921 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,922 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,922 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,922 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,923 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,935 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,936 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,936 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,937 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,937 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,938 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,951 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,952 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,952 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,953 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,954 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,955 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,966 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,967 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,968 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,968 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,969 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,970 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,981 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,982 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,983 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,983 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,984 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,984 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:26,997 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:26,998 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:26,999 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,000 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,000 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,001 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,012 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,014 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,016 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,017 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,018 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,020 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,027 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,029 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,031 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,032 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,033 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,035 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,042 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,044 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,045 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,046 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,047 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,049 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,057 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,059 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,060 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,061 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,062 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,063 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,072 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,074 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,075 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,076 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,077 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,078 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,087 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,089 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,091 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,092 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,094 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,096 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,103 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,105 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,106 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,107 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,108 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,109 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,118 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,120 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,121 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,122 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,123 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,124 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,134 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,135 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,137 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,138 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,139 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,140 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,150 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,152 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,154 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,154 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,156 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,158 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,166 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,167 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,169 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,170 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,171 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,173 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,180 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,182 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,183 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,184 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,185 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,187 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,196 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,198 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,200 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,200 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,201 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,203 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,211 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,213 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,215 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,216 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,217 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,219 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,226 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,228 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,230 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,230 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,232 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,234 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,241 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,243 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,244 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,245 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,246 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,248 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,258 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,260 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,261 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,262 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,263 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,265 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,273 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,275 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,277 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,278 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,280 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,283 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,290 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,291 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,293 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,293 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,295 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,297 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,305 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,307 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,308 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,308 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,310 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,311 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,320 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,322 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,323 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,324 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,325 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,326 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,335 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,337 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,338 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,339 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,340 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,341 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,351 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,353 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,354 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,355 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,356 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,358 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,368 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,370 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,372 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,372 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,374 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,376 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,384 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,386 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,388 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,389 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,392 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,400 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,401 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,403 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,404 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,405 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,407 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,415 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,417 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,420 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,420 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,422 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,425 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,430 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,432 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,433 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,434 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,444 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,446 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,448 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,449 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,451 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,461 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,463 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,465 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,466 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,468 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,470 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,476 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,477 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,479 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,483 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,485 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,491 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,492 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,494 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,494 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,496 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,498 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,507 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,508 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,510 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,511 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,512 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,514 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,521 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,522 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,524 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,525 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,526 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,528 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,536 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,537 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,538 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,538 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,539 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,540 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,551 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,552 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,554 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,554 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,556 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,558 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,566 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,568 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,569 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,570 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,571 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,573 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,582 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,584 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,585 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,586 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,587 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,589 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,598 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,600 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,603 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,603 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,605 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,607 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,613 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,616 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,617 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,618 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,619 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,620 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,629 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,632 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,635 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,636 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,640 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,642 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,644 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,645 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,646 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,646 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,646 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,648 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,660 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,661 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,662 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,662 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,663 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,664 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,676 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,677 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,679 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,679 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,680 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,681 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,691 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,692 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,693 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,694 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,694 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,695 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,706 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,707 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,708 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,708 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,709 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,710 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,722 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,723 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,724 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,724 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,725 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,726 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,737 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,739 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,740 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,741 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,742 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,743 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,752 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,753 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,755 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,755 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,756 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,757 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,767 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,768 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,770 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,771 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,772 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,773 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,783 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,785 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,787 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,787 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,788 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,790 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,805 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,809 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,810 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,811 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,813 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,815 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,817 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,819 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,819 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,821 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,823 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,830 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,832 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,834 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,834 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,835 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,837 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,846 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,847 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,849 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,850 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,852 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,854 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,860 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,861 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,863 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,864 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,866 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,868 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,876 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,878 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,880 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,880 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,884 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,891 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,893 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,894 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,894 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,896 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,897 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,906 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,907 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,908 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,909 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,910 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,911 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,922 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,923 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,924 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,924 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,924 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,925 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,937 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,938 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,939 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,939 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,940 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,940 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,953 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,954 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,955 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,955 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,956 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,957 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,968 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,969 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,970 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,972 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,984 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,985 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,987 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:27,988 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:27,989 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:27,991 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,000 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,002 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,002 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,003 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,003 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,004 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,016 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,017 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,018 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,018 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,019 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,020 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,032 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,033 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,034 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,034 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,035 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,035 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,047 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,048 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,049 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,050 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,050 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,051 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,063 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,064 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,065 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,066 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,066 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,067 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,078 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,079 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,080 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,081 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,081 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,082 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,094 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,096 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,097 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,098 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,099 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,101 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,110 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,112 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,114 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,117 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,118 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,126 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,127 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,129 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,130 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,131 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,132 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,141 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,143 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,144 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,145 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,146 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,148 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,156 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,158 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,159 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,160 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,161 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,162 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,172 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,173 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,174 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,175 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,176 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,178 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,186 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,188 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,189 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,190 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,191 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,193 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,202 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,203 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,206 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,206 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,208 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,210 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,222 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,232 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,234 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,236 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,236 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,248 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,249 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,251 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,252 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,255 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,262 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,265 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,267 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,269 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,271 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,277 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,278 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,278 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,279 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,279 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,280 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,293 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,295 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,297 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,297 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,298 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,300 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,308 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,310 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,311 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,312 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,313 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,315 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,324 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,325 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,326 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,326 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,327 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,328 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,339 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,341 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,342 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,343 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,344 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,345 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,355 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,357 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,359 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,359 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,370 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,372 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,374 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,374 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,378 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,385 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,387 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,388 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,388 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,401 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,403 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,404 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,404 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,406 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,407 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,418 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,419 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,422 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,426 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,433 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,438 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,440 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,442 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,449 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,451 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,453 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,453 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,455 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,457 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,465 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,467 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,470 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,471 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,474 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,482 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,483 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,485 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,487 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,494 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,496 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,499 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,504 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,511 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,513 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,516 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,517 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,519 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,522 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,526 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,528 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,531 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,532 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,534 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,535 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,540 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,542 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,543 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,543 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,544 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,544 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,555 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,556 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,557 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,557 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,558 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,559 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,571 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,572 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,572 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,573 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,573 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,574 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,587 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,588 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,589 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,589 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,590 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,590 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,603 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,604 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,605 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,606 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,606 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,607 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,618 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,619 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,620 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,620 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,621 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,622 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,634 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,636 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,638 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,638 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,639 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,641 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,648 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,649 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,650 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,651 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,651 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,652 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,663 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,664 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,666 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,666 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,667 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,668 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,678 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,679 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,681 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,681 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,682 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,683 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,693 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,694 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,695 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,695 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,696 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,697 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,708 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,709 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,710 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,710 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,711 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,712 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,724 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,726 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,727 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,728 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,729 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,731 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,740 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,742 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,743 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,744 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,745 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,747 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,755 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,757 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,758 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,759 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,760 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,762 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,771 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,772 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,773 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,773 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,773 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,774 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,786 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,787 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,789 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,789 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,791 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,792 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,801 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,802 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,804 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,804 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,805 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,807 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,817 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,818 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,820 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,820 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,822 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,823 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,832 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,834 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,835 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,836 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,838 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,840 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,848 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,849 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,851 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,852 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,854 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,856 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,863 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,865 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,867 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,868 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,873 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,879 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,881 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,883 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,887 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,888 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,890 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,892 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,895 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,896 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,898 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,898 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,899 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,900 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,908 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,910 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,911 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,912 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,912 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,913 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,924 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,926 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,927 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,927 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,928 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,929 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,939 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,941 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,942 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,943 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,944 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,945 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,955 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,957 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,958 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,958 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,959 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,960 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,970 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,971 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,972 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,972 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,973 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,974 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,985 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,986 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,986 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:28,987 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:28,987 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:28,988 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,001 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,002 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,003 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,003 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,004 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,006 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,017 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,018 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,018 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,019 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,020 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,020 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,033 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,034 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,034 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,035 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,035 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,036 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,049 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,050 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,052 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,052 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,053 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,054 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,065 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,066 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,067 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,067 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,068 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,082 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,083 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,084 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,085 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,087 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,095 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,097 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,099 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,099 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,101 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,102 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,110 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,112 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,114 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,116 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,118 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,126 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,128 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,130 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,130 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,133 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,142 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,143 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,146 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,146 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,148 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,151 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,158 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,160 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,162 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,163 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,165 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,167 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,175 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,176 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,177 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,178 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,180 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,188 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,190 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,191 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,192 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,193 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,194 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,203 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,204 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,206 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,206 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,208 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,209 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,219 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,222 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,234 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,237 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,239 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,240 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,250 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,252 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,254 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,255 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,257 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,259 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,266 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,267 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,270 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,273 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,274 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,280 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,282 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,283 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,283 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,285 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,286 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,295 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,297 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,299 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,299 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,300 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,302 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,311 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,313 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,314 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,315 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,316 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,318 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,327 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,329 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,331 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,333 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,335 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,342 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,344 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,346 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,346 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,348 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,350 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,358 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,360 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,363 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,365 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,367 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,372 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,373 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,374 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,377 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,388 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,389 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,390 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,390 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,390 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,391 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,403 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,405 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,406 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,407 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,408 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,409 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,419 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,421 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,422 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,422 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,423 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,425 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,434 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,435 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,435 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,436 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,437 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,450 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,451 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,452 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,453 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,465 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,466 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,467 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,468 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,468 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,469 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,480 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,482 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,483 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,483 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,484 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,485 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,496 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,497 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,499 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,499 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,500 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,502 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,511 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,512 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,514 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,514 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,515 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,516 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,526 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,527 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,528 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,528 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,529 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,530 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,542 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,543 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,544 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,545 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,545 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,547 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,558 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,559 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,561 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,561 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,562 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,563 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,575 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,576 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,577 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,577 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,578 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,579 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,590 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,591 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,591 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,591 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,592 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,592 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,606 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,607 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,607 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,608 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,608 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,609 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,622 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,623 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,624 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,624 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,625 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,627 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,636 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,638 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,639 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,640 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,641 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,643 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,651 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,653 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,654 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,655 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,657 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,658 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,666 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,668 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,670 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,671 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,672 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,674 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,681 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,683 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,684 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,684 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,686 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,687 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,697 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,699 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,700 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,701 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,702 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,703 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,712 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,714 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,716 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,716 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,717 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,719 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,727 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,730 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,732 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,733 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,734 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,735 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,743 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,745 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,747 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,747 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,749 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,751 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,759 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,761 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,763 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,764 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,765 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,768 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,776 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,778 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,780 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,781 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,783 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,785 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,791 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,793 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,794 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,795 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,795 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,796 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,805 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,807 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,808 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,808 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,809 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,811 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,820 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,821 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,823 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,823 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,824 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,826 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,835 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,836 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,838 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,838 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,839 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,841 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,850 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,852 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,853 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,853 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,855 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,856 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,865 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,867 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,868 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,869 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,870 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,872 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,881 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,882 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,884 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,884 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,885 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,887 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,896 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,898 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,899 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,900 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,901 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,903 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,912 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,914 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,916 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,916 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,917 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,919 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,927 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,929 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,931 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,931 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,932 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,934 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,942 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,944 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,946 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,946 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,948 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,950 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,957 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,959 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,961 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,961 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,962 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,964 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,973 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,974 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,975 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,976 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,977 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,978 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,990 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,992 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,994 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:29,994 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:29,996 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:29,998 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,005 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,007 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,009 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,009 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,010 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,012 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,020 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,022 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,024 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,024 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,025 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,027 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,035 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,037 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,039 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,039 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,040 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,042 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,051 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,053 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,054 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,055 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,056 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,057 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,065 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,067 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,068 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,069 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,070 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,071 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,080 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,082 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,084 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,085 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,087 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,089 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,097 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,099 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,101 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,102 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,104 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,107 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,112 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,113 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,115 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,115 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,117 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,118 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,127 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,129 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,131 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,132 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,133 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,135 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,143 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,145 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,147 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,148 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,149 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,152 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,158 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,161 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,163 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,164 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,166 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,168 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,173 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,174 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,177 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,178 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,179 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,182 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,187 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,189 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,191 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,191 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,193 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,195 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,202 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,204 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,206 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,207 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,209 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,211 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,218 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,220 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,221 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,222 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,223 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,225 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,233 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,235 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,236 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,237 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,238 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,239 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,248 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,250 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,251 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,252 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,253 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,254 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,263 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,265 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,267 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,267 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,268 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,270 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,279 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,281 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,282 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,282 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,283 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,285 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,294 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,296 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,297 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,297 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,298 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,300 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,309 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,311 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,312 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,313 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,314 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,316 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,324 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,326 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,327 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,328 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,329 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,331 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,340 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,342 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,343 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,344 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,345 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,347 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,356 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,358 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,359 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,360 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,361 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,362 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,371 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,373 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,374 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,375 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,376 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,378 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,386 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,388 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,390 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,391 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,392 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,393 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,401 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,403 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,404 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,405 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,406 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,409 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,417 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,418 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,419 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,419 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,420 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,420 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,433 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,434 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,435 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,436 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,437 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,438 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,449 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,450 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,451 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,451 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,452 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,452 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,465 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,466 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,467 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,467 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,467 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,468 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,481 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,483 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,483 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,484 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,484 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,485 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,497 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,499 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

2021-12-29 11:12:30,500 ERROR ilens-edge_engine Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\streamio\frameProcessor.py", line 18, in run_model
    self.model.predict(data)
  File "C:\Users\ASUS\PycharmProjects\UI\venv\lib\site-packages\edge_engine\ai\model\modelwraper.py", line 24, in predict
    prediction = self._predict(pre_x)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 537, in _predict
    obj['frame'] = cv2.resize(obj['frame'], (self.config.get('FRAME_WIDTH'), self.config.get('FRAME_HEIGHT')))
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'


2021-12-29 11:12:30,500 ERROR ilens-edge_engine Error: 'NoneType' object has no attribute 'shape'
Traceback (most recent call last):
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 503, in _predict
    dets, frame, _dets, class_name = self.inference(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\scripts\cement_counter.py", line 478, in inference
    dets = self.yp.predict(frame)
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\infer.py", line 47, in predict
    img = letterbox(image, new_shape=self.img_size)[0]
  File "C:\Users\ASUS\PycharmProjects\UI\bag-printing-detection-develop\yolov5processor\utils\augmentations.py", line 94, in letterbox
    shape = im.shape[:2]  # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
2021-12-29 11:12:30,502 ERROR ilens-edge_engine OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:4045: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'

